Merge: t-paliad-230 — submission generator format-only convert (.dotm → .docx)

This commit is contained in:
mAi
2026-05-21 15:26:31 +02:00
9 changed files with 537 additions and 1823 deletions

View File

@@ -159,7 +159,7 @@ async function onGenerateClick(btn: HTMLButtonElement): Promise<void> {
try {
const url = `/api/projects/${projectID}/submissions/${encodeURIComponent(code)}/generate`;
const resp = await fetch(url, { method: "GET" });
const resp = await fetch(url, { method: "POST" });
if (!resp.ok) {
let detail = "";
try {