Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. checkValidityByAppId: (req,res) => {
  2. models.license_purchases.findAndCountAll({
  3. where: {application_id: req.query.application_id}
  4. }).then(result => {
  5. res.json({result:result,valid:"valid"})
  6. }
  7. )
  8.  
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement