mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
Change stripe_checkout_session to POST
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { Response } from 'express';
|
import { Response } from 'express';
|
||||||
import { Controller, Get, Param, Res } from '@nestjs/common';
|
import { Controller, Get, Param, Post, Res } from '@nestjs/common';
|
||||||
import { PaymentLinksApplication } from './PaymentLinksApplication';
|
import { PaymentLinksApplication } from './PaymentLinksApplication';
|
||||||
import { ApiOperation, ApiParam, ApiResponse, ApiTags } from '@nestjs/swagger';
|
import { ApiOperation, ApiParam, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||||
import { ApiCommonHeaders } from '@/common/decorators/ApiCommonHeaders';
|
import { ApiCommonHeaders } from '@/common/decorators/ApiCommonHeaders';
|
||||||
@@ -40,7 +40,7 @@ export class PaymentLinksController {
|
|||||||
return { data };
|
return { data };
|
||||||
}
|
}
|
||||||
|
|
||||||
@Get('/:paymentLinkId/stripe_checkout_session')
|
@Post('/:paymentLinkId/stripe_checkout_session')
|
||||||
@ApiOperation({
|
@ApiOperation({
|
||||||
summary: 'Create Stripe checkout session',
|
summary: 'Create Stripe checkout session',
|
||||||
description:
|
description:
|
||||||
|
|||||||
Reference in New Issue
Block a user