1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 06:31:58 +00:00

remove duplicate settingsservice

This commit is contained in:
Sam Debruyn 2024-12-27 15:54:37 +11:00
parent 227eb4b0a6
commit efa1cb257a

View file

@ -372,7 +372,6 @@ class BackgroundService {
HttpOverrides.global = HttpSSLCertOverride();
ApiService apiService = ApiService();
apiService.setAccessToken(Store.get(StoreKey.accessToken));
AppSettingsService settingService = AppSettingsService();
AppSettingsService settingsService = AppSettingsService();
AlbumRepository albumRepository = AlbumRepository(db);
AssetRepository assetRepository = AssetRepository(db);
@ -422,7 +421,7 @@ class BackgroundService {
);
BackupService backupService = BackupService(
apiService,
settingService,
settingsService,
albumService,
albumMediaRepository,
fileMediaRepository,