mirror of
https://github.com/immich-app/immich.git
synced 2025-06-03 05:34:32 -04:00
refactor: migrate store userId from int to string
This commit is contained in:
parent
24d9dac0e6
commit
c96406737a
@ -536,7 +536,7 @@ class SyncService {
|
||||
);
|
||||
} else if (album.shared) {
|
||||
// delete assets in DB unless they belong to this user or are part of some other shared album or belong to a partner
|
||||
final userIds = (await _getAllAccessibleUsers()).map((user) => user.id);
|
||||
final userIds = (await _getAllAccessibleUsers()).map((user) => user.uid);
|
||||
final orphanedAssets =
|
||||
await _assetRepository.getByAlbum(album, notOwnedBy: userIds);
|
||||
deleteCandidates.addAll(orphanedAssets);
|
||||
|
Loading…
x
Reference in New Issue
Block a user