diff --git a/src/api/fm.ts b/src/api/fm.ts index 9dec746..0763b7e 100644 --- a/src/api/fm.ts +++ b/src/api/fm.ts @@ -3,5 +3,5 @@ import { ModelCreateFMResponse } from "@/types" import { FetcherMethod, fetcher } from "./api" export const createFM = async (id: string): Promise => { - return fetcher(FetcherMethod.GET, `/api/v1/file?id=${id}`, null) + return fetcher(FetcherMethod.POST, `/api/v1/file?id=${id}`, null) }