update
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-23 18:24:15 -06:00
parent 30f71c5db2
commit 942ff0a739
2 changed files with 18 additions and 13 deletions

View File

@@ -271,7 +271,7 @@ export async function getAdminExercises(tutorialId: number) {
export async function createExercise(data: {
tutorial_id: number
type: "mcq" | "sort"
type: "mcq" | "sort" | "fill"
data: object
order: number
}) {
@@ -281,7 +281,7 @@ export async function createExercise(data: {
export async function updateExercise(data: {
id: number
type: "mcq" | "sort"
type: "mcq" | "sort" | "fill"
data: object
order: number
}) {