refactor: migrate store userId from int to string

This commit is contained in:
shenlong-tanwen 2025-03-11 23:23:08 +05:30
parent 24d9dac0e6
commit c96406737a

View File

@ -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);