- correct permission types

- merge
This commit is contained in:
CJPeckover
2025-07-22 02:00:09 -04:00
parent 6fc02898ad
commit 42373259c2
2 changed files with 3 additions and 1 deletions

View File

@@ -476,6 +476,8 @@ Class | Method | HTTP request | Description
- [SyncAlbumV1](doc//SyncAlbumV1.md)
- [SyncAssetDeleteV1](doc//SyncAssetDeleteV1.md)
- [SyncAssetExifV1](doc//SyncAssetExifV1.md)
- [SyncAssetFaceDeleteV1](doc//SyncAssetFaceDeleteV1.md)
- [SyncAssetFaceV1](doc//SyncAssetFaceV1.md)
- [SyncAssetV1](doc//SyncAssetV1.md)
- [SyncEntityType](doc//SyncEntityType.md)
- [SyncMemoryAssetDeleteV1](doc//SyncMemoryAssetDeleteV1.md)

View File

@@ -29,7 +29,7 @@ export class AlbumController {
}
@Get('slim')
@Authenticated({ permission: Permission.ALBUM_READ })
@Authenticated({ permission: Permission.AlbumRead })
getAllAlbumsSlim(@Auth() auth: AuthDto, @Query() query: GetAlbumsDto): Promise<AlbumResponseDto[]> {
return this.service.getAll(auth, query, true);
}