forked from hangshuo652/aurak
fix: MC options display, question selection, timeout handling, and grading prompts
This commit is contained in:
@@ -147,6 +147,11 @@ export class AssessmentService {
|
||||
return data;
|
||||
}
|
||||
|
||||
async nextQuestion(sessionId: string): Promise<{ success: boolean }> {
|
||||
const { data } = await apiClient.post<{ success: boolean }>(`/assessment/${sessionId}/next-question`, {});
|
||||
return data;
|
||||
}
|
||||
|
||||
async forceEnd(sessionId: string): Promise<AssessmentSession> {
|
||||
const { data } = await apiClient.post<AssessmentSession>(`/assessment/${sessionId}/force-end`, {});
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user