fix: check deprecated API statuscode first to better determine API error

This commit is contained in:
James Houlahan
2021-01-22 13:52:46 +01:00
parent 45efdad27e
commit cb839ff149
3 changed files with 10 additions and 13 deletions

View File

@ -43,9 +43,7 @@ const Version = 3
// API return codes.
const (
ForceUpgradeBadAPIVersion = 5003
ForceUpgradeInvalidAPI = 5004
ForceUpgradeBadAppVersion = 5005
ForceUpgradeBadAppVersion = 5003
APIOffline = 7001
ImportMessageTooLong = 36022
BansRequests = 85131