forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

postExamQuestionToBank.ts7 lines, 351 bytesHistoryRawDownload
1import { client } from "../client";
2import type { BankQuestion } from "../client";
3
4/** Copy an exam question into the caller's question bank. */
5export function postExamQuestionToBank(examId: string, questionId: string): Promise<BankQuestion> {
6 return client<BankQuestion>(`/exams/${examId}/questions/${questionId}/to-bank`, { method: "POST" });
7}