naming
This commit is contained in:
parent
69c95e2b73
commit
fa8ce261d8
2 changed files with 2 additions and 2 deletions
|
@ -378,7 +378,7 @@
|
|||
},
|
||||
"/album/{id}/rule": {
|
||||
"post": {
|
||||
"operationId": "addRule",
|
||||
"operationId": "createRule",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue