Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var when=require("promised-io/promise");
- when(AM.addcontact(pair,request.session.user,request.body.contact.length,function(e,o){
- if(!o)
- {
- response.send('something went wrong'+e);
- }
- else
- {
- //response.send(o);
- }
- }),addit(o),rejectit);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement