clear log
This commit is contained in:
parent
8053a3db64
commit
099a823809
@ -41,7 +41,6 @@ app
|
|||||||
ctx.throw(400, 'sign error');
|
ctx.throw(400, 'sign error');
|
||||||
}
|
}
|
||||||
const user = await User.findByPk(tokenUser.id);
|
const user = await User.findByPk(tokenUser.id);
|
||||||
console.log('tokenUser', tokenUser);
|
|
||||||
if (!user) {
|
if (!user) {
|
||||||
ctx.throw(400, 'user not found');
|
ctx.throw(400, 'user not found');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user