We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960ce82 commit a2ca940Copy full SHA for a2ca940
pages/api/payments/paymentId/index.ts
@@ -7,7 +7,7 @@ import { runMiddleware } from 'utils/index'
7
import Cors from 'cors'
8
9
const cors = Cors({
10
- methods: ['GET', 'HEAD', 'POST']
+ methods: ['POST']
11
})
12
13
export default async (req: any, res: any): Promise<void> => {
0 commit comments