forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBc35a83aBurak Boduroğlu4 months ago440 commits

getStudentAnswers.ts6 lines, 359 bytesHistoryRawDownload
1import { client } from "@/api/client";
2import type { StudentAnswerSheet } from "@/api/client";
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}