Skip to content

Commit

Permalink
Fixed permission check
Browse files Browse the repository at this point in the history
  • Loading branch information
89Q12 committed Feb 3, 2024
1 parent 387aae0 commit 50c9ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/guild/events/guild-members/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class GuildMemberEvents {
async unlockUser(reaction: MessageReaction, userReacted: User) {
if (reaction.message.channelId != '1121822614374060175') return;
if (
!['MOD', 'ADMIN', 'OWNER'].includes(
['MOD', 'ADMIN', 'OWNER'].includes(
(
await this.guildUserService.getGuildUser(
userReacted.id,
Expand Down

0 comments on commit 50c9ca6

Please sign in to comment.