Skip to content

Commit cd2a283

Browse files
authored
Merge pull request #797 from Iterable/MOB-9320-AuthFailure-Parity-with-Android
[MOB-9320] - AuthFailure parity with Android
2 parents 46ec495 + 5428cbd commit cd2a283

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

swift-sdk/AuthFailureReason.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ import Foundation
1919
case authTokenNull
2020
case authTokenGenerationError
2121
case authTokenMissing
22-
case authTokenInvalid
2322
}

swift-sdk/Internal/RequestProcessorUtil.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ struct RequestProcessorUtil {
9999
case "jwt authorization header is not set":
100100
return .authTokenMissing
101101
default:
102-
return .authTokenInvalid
102+
return .authTokenGenericError
103103
}
104104
}
105105

0 commit comments

Comments
 (0)