Rename repository method

This commit is contained in:
Matthias Rupp
2022-12-01 17:05:59 +01:00
parent 33b7d1fc06
commit c8d4ed3619
3 changed files with 4 additions and 4 deletions
@@ -641,7 +641,7 @@ export class AssetService {
// Avoid additional checks if ownership is required
if (!mustBeOwner) {
// Step 2: Check if asset is part of an album shared with me
if ((await this._albumRepository.getSharedAlbumCount(authUser.id, assetId)) > 0) {
if ((await this._albumRepository.getSharedWithUserAlbumCount(authUser.id, assetId)) > 0) {
continue;
}