diff --git a/PadelClubData/Data/DataStore.swift b/PadelClubData/Data/DataStore.swift index f31c850..eeeb763 100644 --- a/PadelClubData/Data/DataStore.swift +++ b/PadelClubData/Data/DataStore.swift @@ -59,7 +59,7 @@ public class DataStore: ObservableObject { self.events = store.registerSynchronizedCollection(indexed: indexed) self.dateIntervals = store.registerSynchronizedCollection(indexed: indexed) self.userStorage = store.registerObject(synchronized: true, shouldLoadDataFromServer: false) - self.purchases = Store.main.registerSynchronizedCollection(inMemory: true) + self.purchases = store.registerSynchronizedCollection(inMemory: true) self.monthData = store.registerCollection(indexed: indexed)