diff --git a/services/bots/src/github-webhook/handlers/month_of_wth.ts b/services/bots/src/github-webhook/handlers/month_of_wth.ts index b0944ce..2f4a830 100644 --- a/services/bots/src/github-webhook/handlers/month_of_wth.ts +++ b/services/bots/src/github-webhook/handlers/month_of_wth.ts @@ -4,7 +4,7 @@ import { WebhookContext } from '../github-webhook.model'; import { extractForumLinks } from '../utils/text_parser'; import { BaseWebhookHandler } from './base'; -const WTH_CATEGORY_ID = 56; +const WTH_CATEGORY_IDS = [56, 61]; export class MonthOfWTH extends BaseWebhookHandler { public allowedEventTypes = [EventType.PULL_REQUEST_OPENED]; @@ -16,7 +16,7 @@ export class MonthOfWTH extends BaseWebhookHandler { )) { try { const linkData = await (await fetch(`${link}.json`)).json(); - if (linkData.category_id === WTH_CATEGORY_ID) { + if (WTH_CATEGORY_IDS.includes(linkData.category_id)) { context.scheduleIssueLabel('WTH'); return; }