Michal Dobrovolný
Results
2
comments of
Michal Dobrovolný
There is an example with Promise: ```js router.post('/register', async(ctx, next) => { let user = new UserModel(ctx.request.body); return await new Promise(function (resolve, reject) { UserModel.register(user, ctx.request.body.password, (err, user) => {...
Duplicate #117