Files
admin-frontend-domain/src/api/fm.ts
T
UUBulb bf7ffd36e0 further implementing server page (#4)
* further implementing server page

* optimize icon button

* rename some unnecessary file extensions

* add terminal page & fm card
2024-11-18 20:48:30 +08:00

7 lines
272 B
TypeScript

import { ModelCreateFMResponse } from "@/types";
import { fetcher, FetcherMethod } from "./api"
export const createFM = async (id: string): Promise<ModelCreateFMResponse> => {
return fetcher<ModelCreateFMResponse>(FetcherMethod.GET, `/api/v1/file?id=${id}`, null);
}