Skip to content

Commit

Permalink
[MOB-9320] - AuthFailure parity with Android
Browse files Browse the repository at this point in the history
Removing additional reason in iOS SDK
  • Loading branch information
“Akshay committed Aug 7, 2024
1 parent 46ec495 commit 5428cbd
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 5428cbd

Please sign in to comment.