diff LazyBear/ContentView.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 f9611c94d636
children 4255f94d0767
line wrap: on
line diff
--- a/LazyBear/ContentView.swift	Sun Jun 13 19:40:42 2021 +0200
+++ b/LazyBear/ContentView.swift	Wed Jun 16 13:46:01 2021 +0200
@@ -67,7 +67,7 @@
                 let watchlistCompany = WatchlistCompany(context: moc)
                 watchlistCompany.symbol = tupleCompany.0
                 watchlistCompany.name = tupleCompany.1
-                watchlistCompany.watchlist = "Default watchlist"
+                watchlistCompany.watchlistName = "Default watchlist"
             }
             do {
                 try moc.save()