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.
2 parents e9258d1 + c005068 commit c481f23Copy full SHA for c481f23
apps/web/pages/api/billing/jobs/cleanup-inactive-pages.ts
@@ -13,7 +13,7 @@ const cleanupInactivePagesJob = async (
13
req: NextApiRequest,
14
res: NextApiResponse<CleanupResponse | IErrorResponse>
15
) => {
16
- if (req.method !== "POST") {
+ if (req.method !== "GET") {
17
return res
18
.status(405)
19
.json({ error: { statusCode: 405, message: "Method not allowed" } });
0 commit comments