Skip to content

Commit e85ef2b

Browse files
committed
Update ResponseError.swift
1 parent 97d5a8f commit e85ef2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +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){ return error }
73+
if let error = try? JSONDecoder().decode(ResponseError.self, from: data){ return ReplicateAPI.Errors.responseError(error) }
7474

7575
return error
7676
}

0 commit comments

Comments
 (0)