This commit is contained in:
Alex Tran 2023-08-10 23:21:24 -05:00
parent 69c95e2b73
commit fa8ce261d8
2 changed files with 2 additions and 2 deletions

View file

@ -378,7 +378,7 @@
},
"/album/{id}/rule": {
"post": {
"operationId": "addRule",
"operationId": "createRule",
"parameters": [
{
"name": "id",

View file

@ -89,7 +89,7 @@ export class AlbumController {
}
@Post(':id/rule')
addRule(@AuthUser() authUser: AuthUserDto, @Param() { id }: UUIDParamDto, @Body() dto: CreateRuleDto) {
createRule(@AuthUser() authUser: AuthUserDto, @Param() { id }: UUIDParamDto, @Body() dto: CreateRuleDto) {
return this.service.addRule(authUser, id, dto);
}