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 9aa6c4e commit c4545b0Copy full SHA for c4545b0
Sources/JSONMapper/JSONAPIDecoder.swift
@@ -23,11 +23,11 @@ public class JSONAPIDecoder: JSONDecoder {
23
let dictionary = includedDictionary(from: includedData)
24
25
switch jsonAPIObject.type {
26
- case .data(let data):
+ case .data(let data):
27
return try decode(data, including: dictionary, into: type)
28
- case .meta(let meta):
+ case .meta(let meta):
29
return try decode(meta, into: type)
30
- case .errors(let errors):
+ case .errors(let errors):
31
throw errors
32
}
33
0 commit comments