Skip to content

Commit

Permalink
fix: change temp-fill-datetime-to-metadata http-method to GET
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini256 committed Jun 3, 2024
1 parent 0ef8c94 commit af3f737
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {getDb} from '@/core/db';
import {executeInSafeDuration} from "@/lib/next/executeInSafeDuration";
import {defineHandler} from '@/lib/next/handler';

export const POST = defineHandler({ auth: 'cronjob' }, async () => {
export const GET = defineHandler({ auth: 'cronjob' }, async () => {
const urlPattern = 'https://docs.pingcap.com/%';

await executeInSafeDuration(async () => {
Expand Down

0 comments on commit af3f737

Please sign in to comment.