fix init backup service

This commit is contained in:
Alex 2023-12-06 15:57:57 -06:00
parent fdc5349059
commit 15af86276b
No known key found for this signature in database
GPG key ID: 53CD082B3A5E1082

View file

@ -342,7 +342,8 @@ class BackgroundService {
ApiService apiService = ApiService(); ApiService apiService = ApiService();
apiService.setAccessToken(Store.get(StoreKey.accessToken)); apiService.setAccessToken(Store.get(StoreKey.accessToken));
BackupService backupService = BackupService(apiService, db); AppSettingsService settingService = AppSettingsService();
BackupService backupService = BackupService(apiService, db, settingService);
AppSettingsService settingsService = AppSettingsService(); AppSettingsService settingsService = AppSettingsService();
final selectedAlbums = backupService.selectedAlbumsQuery().findAllSync(); final selectedAlbums = backupService.selectedAlbumsQuery().findAllSync();