mirror of
https://github.com/immich-app/immich.git
synced 2025-03-11 02:23:09 -05:00
feat(mobile): use new endpoint (#6108)
This commit is contained in:
parent
a7d9e25fb0
commit
9a04014f98
1 changed files with 1 additions and 4 deletions
|
@ -44,10 +44,7 @@ class BackupService {
|
||||||
final String deviceId = Store.get(StoreKey.deviceId);
|
final String deviceId = Store.get(StoreKey.deviceId);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return await _apiService.assetApi.getUserAssetsByDeviceId(deviceId);
|
return await _apiService.assetApi.getAllUserAssetsByDeviceId(deviceId);
|
||||||
|
|
||||||
// TODO! Start using this in 1.92.0
|
|
||||||
// return await _apiService.assetApi.getAllUserAssetsByDeviceId(deviceId);
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
debugPrint('Error [getDeviceBackupAsset] ${e.toString()}');
|
debugPrint('Error [getDeviceBackupAsset] ${e.toString()}');
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue