Skip to content

Commit

Permalink
Merge pull request #797 from Iterable/MOB-9320-AuthFailure-Parity-wit…
Browse files Browse the repository at this point in the history
…h-Android

[MOB-9320] - AuthFailure parity with Android
  • Loading branch information
Ayyanchira authored Aug 7, 2024
2 parents 46ec495 + 5428cbd commit cd2a283
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion swift-sdk/AuthFailureReason.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ import Foundation
case authTokenNull
case authTokenGenerationError
case authTokenMissing
case authTokenInvalid
}
2 changes: 1 addition & 1 deletion swift-sdk/Internal/RequestProcessorUtil.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ struct RequestProcessorUtil {
case "jwt authorization header is not set":
return .authTokenMissing
default:
return .authTokenInvalid
return .authTokenGenericError
}
}

Expand Down

0 comments on commit cd2a283

Please sign in to comment.