diff --git a/CHANGELOG.md b/CHANGELOG.md index 1516dca46..2576d254a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,7 +50,7 @@ - Minor: Migrated /vip command to Helix API. (#4010) - Minor: Migrated /unvip command to Helix API. (#4025) - Minor: Migrated /untimeout to Helix API. (#4026) -- Minor: Migrated /unban to Helix API. (#4026) +- Minor: Migrated /unban to Helix API. (#4026, #4050) - Minor: Migrated /subscribers to Helix API. (#4040) - Minor: Migrated /subscribersoff to Helix API. (#4040) - Minor: Migrated /slow to Helix API. (#4040) diff --git a/src/providers/twitch/api/Helix.cpp b/src/providers/twitch/api/Helix.cpp index 44fb8d844..959c482f3 100644 --- a/src/providers/twitch/api/Helix.cpp +++ b/src/providers/twitch/api/Helix.cpp @@ -1419,6 +1419,11 @@ void Helix::unbanUser( } break; + case 403: { + failureCallback(Error::UserNotAuthorized, message); + } + break; + case 429: { failureCallback(Error::Ratelimited, message); }