Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed paddle webhook failing due to 201 responce code

Blue Mousec1e5c8d3ddc7
diff --git a/apps/production/src/webhook/webhook.controller.ts b/apps/production/src/webhook/webhook.controller.ts
index fabd365c0..5446da927 100644
--- a/apps/production/src/webhook/webhook.controller.ts
+++ b/apps/production/src/webhook/webhook.controller.ts
@@ -5,6 +5,7 @@ import {
Headers,
BadRequestException,
NotFoundException,
+ HttpCode,
Ip,
} from '@nestjs/common'
import { ApiTags } from '@nestjs/swagger'
@@ -33,6 +34,7 @@ export class WebhookController {
) {}
@Post('/paddle')
+ @HttpCode(200)
async paddleWebhook(
@Body() body,
@Headers() headers,