summaryrefslogtreecommitdiff
path: root/lib/okpush
diff options
context:
space:
mode:
Diffstat (limited to 'lib/okpush')
-rw-r--r--lib/okpush/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/okpush/index.js b/lib/okpush/index.js
index 5e6b040..67b7c00 100644
--- a/lib/okpush/index.js
+++ b/lib/okpush/index.js
@@ -114,6 +114,8 @@ function OKPush (options) {
channel: req.body.channel,
platform: req.body.platform,
})
+ .then( () => console.log('added new token') )
+ .catch( () => console.log('caught error') )
res.sendStatus(200)
})