forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB078b459Burak Boduroğlu2 months ago671 commits

getStudentAnswerImage.ts11 lines, 384 bytesHistoryRawDownload
1import { blobClient } from "../client";
2
3/** Grader view of a student's drawn/uploaded answer image (plural `attempts` + explicit user). */
4export async function getStudentAnswerImage(
5 examId: string,
6 userId: string,
7 questionId: string,
8 signal?: AbortSignal,
9): Promise<Blob> {
10 return blobClient(`/exams/${examId}/attempts/${userId}/answers/${questionId}/image`, signal);
11}