From aa64deef60aa4aa6c1ab7a1c0a662483a66c01df Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Wed, 18 Nov 2020 14:37:14 +0530 Subject: [PATCH] :recycle: Use GET method for billing portal --- src/modules/stripe/stripe-billing.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/stripe/stripe-billing.controller.ts b/src/modules/stripe/stripe-billing.controller.ts index eeab7e33b..8e9a5190c 100644 --- a/src/modules/stripe/stripe-billing.controller.ts +++ b/src/modules/stripe/stripe-billing.controller.ts @@ -70,7 +70,7 @@ export class StripeBillingController { return this.stripeService.deleteCustomer(groupId); } - @Post('link') + @Get('link') @AuditLog('billing-portal') @Scopes('group-{groupId}:write-billing') async getSession(