From 6cdf16817afa26d80cc74a70441c4bdfd4773c90 Mon Sep 17 00:00:00 2001 From: portuu3 Date: Tue, 2 Apr 2024 12:17:48 +0200 Subject: [PATCH] fix webhook typo --- .../server/src/modules/cron-job/cron.job.controller.ts | 2 +- .../server/src/modules/cron-job/cron.job.controller.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/apps/fortune/exchange-oracle/server/src/modules/cron-job/cron.job.controller.ts b/packages/apps/fortune/exchange-oracle/server/src/modules/cron-job/cron.job.controller.ts index 56529fc8e7..9f9d82d989 100644 --- a/packages/apps/fortune/exchange-oracle/server/src/modules/cron-job/cron.job.controller.ts +++ b/packages/apps/fortune/exchange-oracle/server/src/modules/cron-job/cron.job.controller.ts @@ -27,7 +27,7 @@ export class CronJobController { description: 'Bad Request. Invalid input parameters.', }) @ApiBearerAuth() - @Get('/wehbhook/process') + @Get('/webhook/process') public async processPendingWebhooks(): Promise { await this.cronJobService.processPendingWebhooks(); return; diff --git a/packages/apps/reputation-oracle/server/src/modules/cron-job/cron.job.controller.ts b/packages/apps/reputation-oracle/server/src/modules/cron-job/cron.job.controller.ts index f4ea816285..98439cb3bd 100644 --- a/packages/apps/reputation-oracle/server/src/modules/cron-job/cron.job.controller.ts +++ b/packages/apps/reputation-oracle/server/src/modules/cron-job/cron.job.controller.ts @@ -16,7 +16,7 @@ export class CronJobController { constructor(private readonly cronJobService: CronJobService) {} @Public() - @Get('/wehbhook/pending') + @Get('/webhook/pending') @ApiOperation({ summary: 'Process Pending Cron Job', description: 'Endpoint to process pending cron jobs that triggers payouts.', @@ -33,7 +33,7 @@ export class CronJobController { } @Public() - @Get('/wehbhook/paid') + @Get('/webhook/paid') @ApiOperation({ summary: 'Process Paid Cron Job', description: