Skip to content

Commit

Permalink
fix: Typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed Jan 9, 2020
1 parent 238aa2a commit 29054a9
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 @@ -46,7 +46,7 @@ const validateParameters = (eventName, type, id, handler) => {
}

if (typeof type !== 'string') {
msg = `'${type}' is not a valide type, it should be a string.`
msg = `'${type}' is not a valid type, it should be a string.`
}

if (id && eventName === 'created') {
Expand Down

0 comments on commit 29054a9

Please sign in to comment.