Skip to content

Commit 6287b42

Browse files
committed
docs: fix typos in custom handlers for service events
1 parent 007a9c8 commit 6287b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/service-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,8 @@ handleEvents: {
391391
// If true, the new item will be stored.
392392
return true
393393
},
394-
updated: () => false,
395-
patched: item.hasPatchedAttribute && item.isWorthKeeping,
394+
updated: () => false, // Ignore `updated` events.
395+
patched: item => item.hasPatchedAttribute && item.isWorthKeeping,
396396
removed: item => true // The default value, will remove the record from the store
397397
}
398398
```

0 commit comments

Comments
 (0)