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

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 = ''; let userUuid = '';
if (users.length === 0) { if (users.length === 0) {