mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
parent
527cce33e6
commit
762017e486
1 changed files with 3 additions and 3 deletions
|
@ -70,10 +70,10 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
|
|||
: { usernameLower: ps.username.toLowerCase(), host: null };
|
||||
|
||||
user = await User.findOne(q, cursorOption);
|
||||
}
|
||||
|
||||
if (user === null) {
|
||||
return rej('user not found');
|
||||
}
|
||||
if (user === null) {
|
||||
return rej('user not found');
|
||||
}
|
||||
|
||||
// Send response
|
||||
|
|
Loading…
Add table
Reference in a new issue