mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Updates for async and await - still
This commit is contained in:
parent
febb36d75f
commit
706c5dc3ef
18 changed files with 220 additions and 233 deletions
|
|
@ -12,10 +12,10 @@ UserConfigOptions.allow({
|
|||
});
|
||||
|
||||
Meteor.methods({
|
||||
'change.userPass' (usersId, password) {
|
||||
async 'change.userPass' (usersId, password) {
|
||||
check(usersId, String);
|
||||
check(password, String);
|
||||
|
||||
return Accounts.setPasswordAsync(usersId, password);
|
||||
return await Accounts.setPasswordAsync(usersId, password);
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue