Skip to content

Commit 48cf67e

Browse files
authored
[FIX] Missing arrow function syntax (#632)
1 parent 2c04928 commit 48cf67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/utilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ records|Array< Object > | Object | undefined|The records.
222222
```js
223223
const { getItems, replaceItems } = require('feathers-hooks-common');
224224

225-
const insertCode = code => context {
225+
const insertCode = code => context => {
226226
const items = getItems(context);
227227
if (Array.isArray(items)) {
228228
items.forEach(item => { item.code = code; });

0 commit comments

Comments
 (0)