Add missing 403 handling for /unban (#4050)

This commit is contained in:
Felanbird
2022-10-06 14:30:40 -04:00
committed by GitHub
parent 03051bf0bd
commit 41581031b9
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -1419,6 +1419,11 @@ void Helix::unbanUser(
}
break;
case 403: {
failureCallback(Error::UserNotAuthorized, message);
}
break;
case 429: {
failureCallback(Error::Ratelimited, message);
}