diff --git a/ios/sandwich/Mappers.swift b/ios/sandwich/Mappers.swift index 29a8167..e6fb4f1 100644 --- a/ios/sandwich/Mappers.swift +++ b/ios/sandwich/Mappers.swift @@ -115,9 +115,9 @@ extension NSError { let authErrorCodes = QNUtils.authErrorsCodes() as? [NSNumber] ?? [] if (code >= 500 && code < 600) { - strCode = apiErrorCodes[Qonversion.APIError.internalError.rawValue] + strCode = apiErrorCodes[Qonversion.APIError.internalError.rawValue] } else if (authErrorCodes.contains { $0.intValue == code }) { - strCode = apiErrorCodes[Qonversion.APIError.invalidCredentials.rawValue] + strCode = apiErrorCodes[Qonversion.APIError.invalidCredentials.rawValue] } }