Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9fb91cd

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /