Mercurial > public > lazybear
diff LazyBear/Views/Profile/Networking/ProfileResponse.swift @ 425:4effac4733b0
Changing keys from API responses
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 16 Jun 2021 13:46:01 +0200 |
parents | 9b7af8e83d12 |
children |
line wrap: on
line diff
--- a/LazyBear/Views/Profile/Networking/ProfileResponse.swift Sun Jun 13 19:40:42 2021 +0200 +++ b/LazyBear/Views/Profile/Networking/ProfileResponse.swift Wed Jun 16 13:46:01 2021 +0200 @@ -8,11 +8,5 @@ import SwiftUI struct ProfileResponse: Codable { - var intradayPrices: [String: [Double]]? - var quotes: [String: QuoteModel]? - - private enum CodingKeys : String, CodingKey { - case intradayPrices = "intraday_prices" - case quotes - } + var quotes: [CompanyModel]? }