mirror of
https://github.com/immich-app/immich.git
synced 2025-06-08 21:38:40 +02:00
fix(server): /api/stacks does not handles primaryAssetId query param (#16868)
fix(server): add missing validation decorator
This commit is contained in:
parent
8723f585e0
commit
d7a6e78bf0
2 changed files with 2 additions and 0 deletions
|
@ -5712,6 +5712,7 @@
|
|||
"required": false,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ export class StackCreateDto {
|
|||
}
|
||||
|
||||
export class StackSearchDto {
|
||||
@ValidateUUID({ optional: true })
|
||||
primaryAssetId?: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue