forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBd962efeBurak Boduroğlu4 months ago146 commits

getStudentAnswers.ts6 lines, 358 bytesHistoryRawDownload
1import { client } from "@/api/client";
2import type { StudentAnswerSheet } from "@/api/types";
3
4export async function getStudentAnswers(examId: string, userId: string, signal?: AbortSignal): Promise<StudentAnswerSheet> {
5 return client<StudentAnswerSheet>(`/exams/${encodeURIComponent(examId)}/attempts/${encodeURIComponent(userId)}/answers`, { signal });
6}