fix(server): /api/stacks does not handles primaryAssetId query param (#16868)
fix(server): add missing validation decoratorpull/16960/head
parent
8723f585e0
commit
d7a6e78bf0
|
|
@ -5712,6 +5712,7 @@
|
||||||
"required": false,
|
"required": false,
|
||||||
"in": "query",
|
"in": "query",
|
||||||
"schema": {
|
"schema": {
|
||||||
|
"format": "uuid",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ export class StackCreateDto {
|
||||||
}
|
}
|
||||||
|
|
||||||
export class StackSearchDto {
|
export class StackSearchDto {
|
||||||
|
@ValidateUUID({ optional: true })
|
||||||
primaryAssetId?: string;
|
primaryAssetId?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue