Mercurial > public > lazybear
diff LazyBear/Views/Company/Networking/ChartResponse.swift @ 401:f843c6382529
Add Enumeration to Networks files
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Thu, 20 May 2021 21:04:49 +0200 |
parents | 5c99883c7964 |
children | b93172662988 |
line wrap: on
line diff
--- a/LazyBear/Views/Company/Networking/ChartResponse.swift Sat May 15 19:54:20 2021 +0200 +++ b/LazyBear/Views/Company/Networking/ChartResponse.swift Thu May 20 21:04:49 2021 +0200 @@ -8,12 +8,12 @@ import SwiftUI struct ChartResponse: Codable { - var intradayPrices: [String: [IntradayPriceModel]]? + var historicalPrices: [HistoricalPricesModel]? var quote: [String: QuoteModel]? var latestNews: [LatestNewsModel]? private enum CodingKeys : String, CodingKey { - case intradayPrices = "intraday_prices" + case historicalPrices = "historical_prices" case quote case latestNews = "latest_news" }