This commit is contained in:
syuilo 2018-08-02 09:27:30 +09:00
parent be0e811e45
commit bcf854b7bb

View file

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