fix typo
This commit is contained in:
parent
d75a152b9a
commit
4a05db9c9a
@ -49,7 +49,7 @@ extension KeyedDecodingContainer where Key: CodingKey {
|
|||||||
var meta: KeyedDecodingContainer<C>?
|
var meta: KeyedDecodingContainer<C>?
|
||||||
do {
|
do {
|
||||||
meta = try self.nestedContainer(keyedBy: C.self, forKey: codingKey)
|
meta = try self.nestedContainer(keyedBy: C.self, forKey: codingKey)
|
||||||
}git catch {
|
} catch {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
guard let type = try meta?.decodeIfPresent(String.self, forKey: typeCodingKey) else {
|
guard let type = try meta?.decodeIfPresent(String.self, forKey: typeCodingKey) else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user