hezarfen_frontend
Clone
https://git.tahinli.com/Hezarfen/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { client } from "@/api/client"; |
| 2 | import type { StudentAnswerSheet } from "@/api/client"; |
| 3 | |
| 4 | export async function getStudentAnswers(examId: string, userId: string, signal?: AbortSignal): Promise<StudentAnswerSheet> { |
| 5 | return client<StudentAnswerSheet>(`/exams/${encodeURIComponent(examId)}/attempts/${encodeURIComponent(userId)}/answers`, { signal }); |
| 6 | } |