forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

getSubjectById.ts6 lines, 237 bytesHistoryRawDownload
1import { client } from "../client";
2import type { Subject } from "../client";
3
4export function getSubjectById(subjectId: string, signal?: AbortSignal): Promise<Subject> {
5 return client<Subject>(`/subjects/${subjectId}`, { signal });
6}