Skip to content

Commit 9fb91cd

Browse files
committed
Update ResponseError.swift
1 parent 9458952 commit 9fb91cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/replicate-kit-swift/error/ResponseError.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ internal let errorFn : Http.Validate.Status.ErrorFn = {
7070
return error
7171
}
7272

73-
if let error = try? JSONDecoder().decode(ResponseError.self, from: data){
74-
return error
75-
}
73+
if let error = try? JSONDecoder().decode(ResponseError.self, from: data){ return error }
7674

7775
return error
7876
}

0 commit comments

Comments
 (0)