diff --git a/lib/realm.js b/lib/realm.js index 6f1a3665..0c4b072c 100644 --- a/lib/realm.js +++ b/lib/realm.js @@ -48,7 +48,7 @@ class Realm { throw new TypeError('addNotification method was not called on a Realm object!'); } if (typeof callback != 'function') { - throw new Error('Realm.addNotification must be passed function!'); + throw new Error('Realm.addNotification must be passed a function!'); } let notification = rpc.callRealmMethod(realmId, 'addNotification', [callback]);