mirror of
https://github.com/certd/certd.git
synced 2026-04-21 02:20:52 +08:00
chore: 修改权限判断字段从summary改成description
This commit is contained in:
@@ -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({});
|
||||
|
||||
Reference in New Issue
Block a user