Skip to content

Commit c481f23

Browse files
authored
Merge pull request #81 from techulus/develop
Fix vercel cron method
2 parents e9258d1 + c005068 commit c481f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/pages/api/billing/jobs/cleanup-inactive-pages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const cleanupInactivePagesJob = async (
1313
req: NextApiRequest,
1414
res: NextApiResponse<CleanupResponse | IErrorResponse>
1515
) => {
16-
if (req.method !== "POST") {
16+
if (req.method !== "GET") {
1717
return res
1818
.status(405)
1919
.json({ error: { statusCode: 405, message: "Method not allowed" } });

0 commit comments

Comments
 (0)