one more auth fix

This commit is contained in:
oat 2020-10-12 20:56:06 +03:00
parent f113c472fd
commit 0a150ad343
Signed by: oat
GPG Key ID: DD83A9617A252385
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export function run(app) {
}
});
const users = await User.find({id: userInfo.id});
const users = await User.find({id: String(userInfo.data.id)});
let userUuid = '';
if (users.length === 0) {