Advertisement
jaegaern

Untitled

Oct 16th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. app.post('/api/account/edit/:field/:optional?', isAuthenticated, function (req, res) {
  2.     utils.anyFunction(in1, in2)
  3.     .then(out1 => {
  4.       console.log('out1: ', out1)
  5.     })
  6.     .catch(err => {
  7.       console.log('err: ', err)
  8.     })
  9.   })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement