1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-13 22:28:58 +09:00
This commit is contained in:
MeiMei 2019-02-15 23:43:49 +09:00 committed by syuilo
parent 2776934728
commit 04553de230

View File

@ -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