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 ac7b1a5Copy full SHA for ac7b1a5
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
default:
76
fatalError("There is no configured way to apply for method: \(method)")
77
}
0 commit comments