diff LazyBear/Persistence.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 d402bfa367c2
children 783b567800d9
line wrap: on
line diff
--- a/LazyBear/Persistence.swift	Sun Jun 13 19:40:42 2021 +0200
+++ b/LazyBear/Persistence.swift	Wed Jun 16 13:46:01 2021 +0200
@@ -22,7 +22,7 @@
             let watchlistCompany = WatchlistCompany(context: viewContext)
             watchlistCompany.name = "Apple Inc"
             watchlistCompany.symbol = "AAPL"
-            watchlistCompany.watchlist = "Technologies"
+            watchlistCompany.watchlistName = "Technologies"
         }
         do {
             try viewContext.save()