Skip to content

Commit 3b0839a

Browse files
committed
chore: Remove redundant endpoint
1 parent 5254662 commit 3b0839a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

apps/api/src/stripe/stripe.controller.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ export class StripeController {
144144
return this.stripeService.listPrices('one_time')
145145
}
146146

147-
@Post(':id/cancel-subscription')
148-
cancelSubscription(@Param('id') subscriptionId: string, @AuthenticatedUser() user: KeycloakTokenParsed) {
149-
return this.stripeService.cancelSubscription(subscriptionId, user)
150-
}
151147

152148
@Get('prices/recurring')
153149
@Public()

0 commit comments

Comments
 (0)