Update dependencies 🚀
This commit is contained in:
parent
6274f6f2f6
commit
0f27b62924
99 changed files with 446 additions and 433 deletions
|
|
@ -12,7 +12,7 @@ import generateUserToken from '../../common/generate-native-user-token';
|
|||
*/
|
||||
module.exports = async (params, user) => new Promise(async (res, rej) => {
|
||||
// Get 'password' parameter
|
||||
const [password, passwordErr] = $(params.password).string().$;
|
||||
const [password, passwordErr] = $(params.password).string().get();
|
||||
if (passwordErr) return rej('invalid password param');
|
||||
|
||||
// Compare password
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue