diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-05-21 02:44:05 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-05-21 02:44:05 +0200 |
| commit | d91a5283e2c9246760c110332e59513de62cfa07 (patch) | |
| tree | 7509e4bf897232deb558ec2f32aed1a190fcd4ba /lib/okpush | |
| parent | 113eca6e9d60c923da82474941acf5c9640bd917 (diff) | |
new backend to fetch feedback from a google doc
Diffstat (limited to 'lib/okpush')
| -rw-r--r-- | lib/okpush/index.js | 2 |
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) }) |
