forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

getSchool.ts6 lines, 234 bytesHistoryRawDownload
1import { client } from "../client";
2import type { School } from "../client";
3
4export function getSchool(id: string, signal?: AbortSignal): Promise<School> {
5 return client<School>(`/schools/${encodeURIComponent(id)}`, { signal });
6}