Skip to content

Commit

Permalink
feat: Support "notified" event
Browse files Browse the repository at this point in the history
Used for non persisted realtime events
cozy/cozy-stack#2309
  • Loading branch information
ptbrowne committed Jan 9, 2020
1 parent dc95cb9 commit 7c7f524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cozy-realtime/src/CozyRealtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const getHandlerAndId = (handlerOrId, handlerOrUndefined) => {
return { id, handler }
}

const VALID_EVENTS = ['created', 'updated', 'deleted']
const VALID_EVENTS = ['created', 'updated', 'deleted', 'notified']

const validateParameters = (eventName, type, id, handler) => {
let msg
Expand Down

0 comments on commit 7c7f524

Please sign in to comment.