From d91a5283e2c9246760c110332e59513de62cfa07 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 21 May 2017 02:44:05 +0200 Subject: new backend to fetch feedback from a google doc --- lib/okpush/index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/okpush/index.js') 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) }) -- cgit v1.2.3-70-g09d2