move ´code´ api endpoint to ´casepw´
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit

This commit is contained in:
2025-07-23 12:54:40 +02:00
parent e8170de947
commit db1cc78f2c
3 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
export default async function get_code(case_no) {
let url = `/api/list/${case_no}/code`;
let url = `/api/list/${case_no}/casepw`;
const response = await fetch(url);
if (response.status == 200) {

View File

@@ -181,7 +181,7 @@
if (caseName == '') return;
let url = `/api/list/${caseName}/code`;
let url = `/api/list/${caseName}/casepw`;
const response = await fetch(url);
if (response.status == 200) {