mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Fix buggy mute cases
This commit is contained in:
parent
b47d69d525
commit
d0f8ec2b57
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue