Ensure that invalid username/password combinations throw an error

This commit is contained in:
Maurice Parker committed 2019-06-20 11:18:09 -05:00
1 parent 6765206a1b
commit 2756e8f204
1 file changed
+1 -1
@@ -55,7 +55,7 @@ final class FeedbinAPICaller: NSObject {
switch error {
case TransportError.httpError(let status):
if status == 401 {
completion(.success(self.credentials))
completion(.success(nil))
} else {
completion(.failure(error))
}