Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/v5' into feature/display-categ…
Browse files Browse the repository at this point in the history
…ory-game-name
  • Loading branch information
Oceanity committed Sep 16, 2024
2 parents 3c82d4d + 83a8165 commit a4ed952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/effects/builtin/moderator-ban.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const model = {
const user = await twitchApi.users.getUserByName(event.effect.username);

if (user != null) {
const result = await twitchApi.moderation.unban(user.id);
const result = await twitchApi.moderation.unbanUser(user.id);

if (result === true) {
logger.debug(`${event.effect.username} was unbanned via the Ban effect.`);
Expand Down

0 comments on commit a4ed952

Please sign in to comment.