This commit is contained in:
syuilo 2018-08-02 09:27:30 +09:00
parent be0e811e45
commit bcf854b7bb
1 changed files with 1 additions and 2 deletions

View File

@ -41,8 +41,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
}
const mute = await Mute.find({
muterId: user._id,
deletedAt: { $exists: false }
muterId: user._id
});
const query = {