Skip to content

Commit cdf551b

Browse files
alxnktpwizla
andauthored
Typo in groupBy query. (#300)
Co-authored-by: Pierre Wizla <[email protected]>
1 parent eeebb3b commit cdf551b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/developer-docs/latest/development/backend-customization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ const result = await knex('restaurants')
15211521
// return a grouped key-value object generated from
15221522
// the response
15231523

1524-
return (_.groupBy(result, 'chef');
1524+
return (_.groupBy(result, 'chef'));
15251525
```
15261526

15271527
**We strongly suggest to sanitize any strings before making queries to the DB**

0 commit comments

Comments
 (0)