From ffc4f9d93054d70f1cf87ff17797763515337e8c Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 17 Dec 2018 17:40:53 +0100 Subject: [PATCH] Fix typo --- src/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notifications.js b/src/notifications.js index fd8b61ec7..7ab5d90d7 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -50,7 +50,7 @@ function add(userId, title, message, action, callback) { assert.strictEqual(typeof title, 'string'); assert.strictEqual(typeof message, 'string'); assert.strictEqual(typeof action, 'string'); - assert.strictEqual(typeof userId, 'function'); + assert.strictEqual(typeof callback, 'function'); debug('add: ', userId, title, action);