Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .put(async r => {
- let password = r.body.password;
- let login = r.body.login;
- let xuser = new User({login, password});
- await xuser.save();
- //User.update(r.body);
- r.res.send('YOU ARE H!\n');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement