mirror of
https://github.com/immich-app/immich.git
synced 2026-02-11 11:27:56 +03:00
- correct permission types
- merge
This commit is contained in:
2
mobile/openapi/README.md
generated
2
mobile/openapi/README.md
generated
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user