diff --git a/src/api/cron.ts b/src/api/cron.ts index 13238d5..5a6fed6 100644 --- a/src/api/cron.ts +++ b/src/api/cron.ts @@ -15,5 +15,5 @@ export const deleteCron = async (id: number[]): Promise => { } export const runCron = async (id: number): Promise => { - return fetcher(FetcherMethod.GET, `/api/v1/cron/${id}/manual`, null) + return fetcher(FetcherMethod.POST, `/api/v1/cron/${id}/manual`, null) }