one more auth fix
This commit is contained in:
parent
f113c472fd
commit
0a150ad343
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue