mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Add missing 403 handling for /unban (#4050)
This commit is contained in:
parent
03051bf0bd
commit
41581031b9
|
@ -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)
|
||||
|
|
|
@ -1419,6 +1419,11 @@ void Helix::unbanUser(
|
|||
}
|
||||
break;
|
||||
|
||||
case 403: {
|
||||
failureCallback(Error::UserNotAuthorized, message);
|
||||
}
|
||||
break;
|
||||
|
||||
case 429: {
|
||||
failureCallback(Error::Ratelimited, message);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue