From bdba73ab985fdd6112f36dff02cd0eff937759b1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 25 Sep 2017 19:07:54 +0200 Subject: test --- lib/okpush/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/okpush/index.js') diff --git a/lib/okpush/index.js b/lib/okpush/index.js index a0211bed..c202c681 100644 --- a/lib/okpush/index.js +++ b/lib/okpush/index.js @@ -131,7 +131,7 @@ function OKPush (options) { } var note = apn.buildPayload(opt, options.config.bundleId) apn.push('hub', note) - db.addNotification(channel, function(){ + db.addNotification('custom', function(){ res.sendStatus(200) }) }) -- cgit v1.2.3-70-g09d2