forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

getExamReviewAttemptAnswers.ts14 lines, 469 bytesHistoryRawDownload
1import { client } from "@/api/client";
2import type { StudentAnswerSheet } from "@/api/client";
3
4/** Self-review of one of the caller's own past sittings (same shape as the current attempt). */
5export async function getExamReviewAttemptAnswers(
6 examId: string,
7 seq: number,
8 signal?: AbortSignal,
9): Promise<StudentAnswerSheet> {
10 return client<StudentAnswerSheet>(
11 `/exams/${encodeURIComponent(examId)}/review/attempts/${seq}/answers`,
12 { signal },
13 );
14}