3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 07:05:03 +00:00

Fix buggy mute cases

This commit is contained in:
Miikka 2018-12-23 01:00:56 +02:00 committed by GitHub
parent 5353d5acbf
commit 33cfe4da02

View file

@ -42,7 +42,7 @@ export class GuildMutes extends BaseRepository {
expires_at: expiresAt expires_at: expiresAt
}); });
return this.mutes.findOne(result.identifiers[0].id); return this.mutes.findOne({ where: result.identifiers[0] });
} }
async updateExpiryTime(userId, newExpiryTime) { async updateExpiryTime(userId, newExpiryTime) {