We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6b2230 commit f584819Copy full SHA for f584819
.codecov.yml
@@ -4,7 +4,7 @@ coverage:
4
status:
5
patch:
6
default:
7
- target: 75
+ target: 49
8
changes: false
9
project:
10
Sources/ParseSwift/API/Responses.swift
@@ -68,10 +68,10 @@ internal struct WriteResponse: Codable {
68
switch method {
69
case .POST:
70
return asSaveResponse().apply(to: object)
71
- case .PUT:
+ case .PUT, .PATCH:
72
return asUpdateResponse().apply(to: object)
73
case .GET:
74
- fatalError("Parse-server doesn't support batch fetching like this. Look at \"fetchAll\".")
+ fatalError("Parse-server doesn't support batch fetching like this. Try \"fetchAll\".")
75
76
fatalError("There is no configured way to apply for method: \(method)")
77
}
0 commit comments