chore: 修改权限判断字段从summary改成description

This commit is contained in:
xiaojunnuo
2026-03-15 16:20:20 +08:00
parent b88ee33ae4
commit 25e361b9f9
60 changed files with 385 additions and 385 deletions
@@ -10,8 +10,8 @@ export class WebhookController extends BaseController {
@Inject()
pipelineService: PipelineService;
@Get('/:webhookKey', { summary: Constants.per.guest })
@Post('/:webhookKey', { summary: Constants.per.guest })
@Get('/:webhookKey', { description: Constants.per.guest })
@Post('/:webhookKey', { description: Constants.per.guest })
async webhook(@Param('webhookKey') webhookKey: string): Promise<any> {
await this.pipelineService.triggerByWebhook(webhookKey);
return this.ok({});