1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

fix(mobile): set SSL options properly in background backup process (#11870) (#12206)

Co-authored-by: Yun Jiang <yjiang@pulsesecure.net>
This commit is contained in:
Yun Jiang 2024-09-02 20:42:51 +01:00 committed by GitHub
parent d8b602f757
commit f46abbb5b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -349,6 +349,7 @@ class BackgroundService {
Future<bool> _onAssetsChanged() async {
final Isar db = await loadDb();
HttpOverrides.global = HttpSSLCertOverride();
ApiService apiService = ApiService();
apiService.setAccessToken(Store.get(StoreKey.accessToken));
AppSettingsService settingService = AppSettingsService();