Files
native-app/packages/api/src/meta.ts
2024-04-19 20:41:21 +02:00

9 lines
206 B
TypeScript

import type { MetaResponse } from "./types";
import { f } from "./fetch";
export function getBackendMeta(url: string): Promise<MetaResponse> {
return f<MetaResponse>("/meta", {
baseUrl: url,
});
}