hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBc35a83aBurak Boduroğlu4 months ago440 commits
| 1 | import { client } from "@/api/client"; |
| 2 | |
| 3 | /** Sitting seqs a student has for this exam, ascending (e.g. [1, 2]). Grader-only. */ |
| 4 | export async function getStudentAttempts(examId: string, userId: string, signal?: AbortSignal): Promise<number[]> { |
| 5 | return client<number[]>(`/exams/${encodeURIComponent(examId)}/students/${encodeURIComponent(userId)}/attempts`, { signal }); |
| 6 | } |