mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-09-19 09:40:13 +00:00
* further implementing server page * optimize icon button * rename some unnecessary file extensions * add terminal page & fm card
7 lines
272 B
TypeScript
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);
|
|
}
|