Skip to content

Commit

Permalink
Fix typo in examples/SQL.md (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
efueyo authored Feb 9, 2021
1 parent 97966d2 commit cae1a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/SQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const userLoader = new DataLoader(ids => new Promise((resolve, reject) => {
reject(error);
} else {
resolve(ids.map(
id => rows.find(row => rows.id === id) || new Error(`Row not found: ${id}`)
id => rows.find(row => row.id === id) || new Error(`Row not found: ${id}`)
));
}
});
Expand Down

0 comments on commit cae1a3d

Please sign in to comment.