forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

getExamById.ts6 lines, 227 bytesHistoryRawDownload
1import { client } from "../client";
2import type { Exam } from "../client";
3
4export function getExamById(id: string, signal?: AbortSignal): Promise<Exam> {
5 return client<Exam>(`/exams/${id}`, { signal, cache: "no-store" });
6}