zahmis 4 tahun lalu
induk
melakukan
8e16c02b5d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/slackbot-proxy/src/controllers/slack.ts

+ 1 - 1
packages/slackbot-proxy/src/controllers/slack.ts

@@ -311,7 +311,7 @@ export class SlackCtrl {
   }
   }
 
 
   @Post('/events')
   @Post('/events')
-  async handleEvent(@BodyParams() body:{[key:string]:string}/* , @Res() res: Res */): Promise<void|string> {
+  async handleEvent(@BodyParams() body:{[key:string]:string} /* , @Res() res: Res */): Promise<void|string> {
     // eslint-disable-next-line max-len
     // eslint-disable-next-line max-len
     // see: https://api.slack.com/apis/connections/events-api#the-events-api__subscribing-to-event-types__events-api-request-urls__request-url-configuration--verification
     // see: https://api.slack.com/apis/connections/events-api#the-events-api__subscribing-to-event-types__events-api-request-urls__request-url-configuration--verification
     if (body.type === 'url_verification') {
     if (body.type === 'url_verification') {