Mercurial > pumpbridge
diff src/routes.coffee @ 17:a52b5b244e51
removed unnecessary underscore and replaced it with async
author | Mathias Gebbe <mgebbe@intevation.de> |
---|---|
date | Fri, 13 Jun 2014 15:18:36 +0200 |
parents | 6fd0a307850f |
children | 3e3fa35e3ce2 |
line wrap: on
line diff
--- a/src/routes.coffee Thu Jun 12 20:58:06 2014 +0200 +++ b/src/routes.coffee Fri Jun 13 15:18:36 2014 +0200 @@ -47,7 +47,7 @@ fbid = req.body.fbid fbtoken = req.body.fbtoken fbdelete = req.body.fbdelete - + twdelete = req.body.twdelete # create/update userdb entrys @@ -90,7 +90,7 @@ deleteUsermap(um.id,callback) return ], (err, result) -> - + #### FACEBOOK STUFF #### if not (fbid?) or not (fbtoken?) or fbid is "" or fbtoken is "" @@ -128,7 +128,6 @@ return ], (err, result) -> - # go back to main page #res.send JSON.stringify(req.body.pumpobj) #res.send 'bridge update for:'+ pumpid + '<br>--> ' + gpid + ' ' + gptoken + '<br>--> ' + fbid + ' ' + fbtoken