chore: remove album ownerId check

pull/27730/head
Yaros 2026-05-31 18:44:24 +02:00
parent ea14b59741
commit 474785e721
1 changed files with 0 additions and 2 deletions

View File

@ -759,7 +759,6 @@ export class AssetRepository {
.whereRef('album_asset.assetId', '=', 'asset.id')
.where((eb) =>
eb.or([
eb('album.ownerId', '=', anyUuid(options.userIds!)),
eb.exists(
eb
.selectFrom('album_user')
@ -878,7 +877,6 @@ export class AssetRepository {
.whereRef('album_asset.assetId', '=', 'asset.id')
.where((eb) =>
eb.or([
eb('album.ownerId', '=', anyUuid(options.userIds!)),
eb.exists(
eb
.selectFrom('album_user')