diff --git a/Sources/Models/DTO/LastUpdated.swift b/Sources/Models/DTO/LastUpdated.swift index 94224d0..f1c7f48 100644 --- a/Sources/Models/DTO/LastUpdated.swift +++ b/Sources/Models/DTO/LastUpdated.swift @@ -26,10 +26,14 @@ public extension DTO { } -// MARK: - Decodable +// MARK: - Codable -extension DTO.LastUpdated: Decodable { +extension DTO.LastUpdated: Codable { + + // MARK: Keys + enum CodingKeys: String, CodingKey { case timestamp = "lastUpdated" } + }