Return after ineligible error in digest sign up so its raised correctly
This commit is contained in:
@ -50,6 +50,7 @@ public extension DataService {
|
||||
case let .error(errorCode: errorCode):
|
||||
if errorCode == .ineligible {
|
||||
continuation.resume(throwing: IneligibleError.message(messageText: "You are not eligible for this feature."))
|
||||
return
|
||||
}
|
||||
continuation.resume(throwing: BasicError.message(messageText: errorCode.rawValue))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user