This commit is contained in:
dcore94 2023-06-09 18:01:04 +02:00
parent 91d909b482
commit 7e11355a89
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ class CCPExecutionHistory extends HTMLElement {
} }
toArchiveFolder(id){ toArchiveFolder(id){
this.#boot.secureFetch(`${this.#serviceurl}/executions/${id}/archive-folder`, { method: "POST" }) this.#boot.secureFetch(`${this.#serviceurl}/executions/${id}/archive-to-folder`, { method: "POST" })
.then(reply =>{ .then(reply =>{
if (!reply.ok) { if (!reply.ok) {
throw "Unable to archive" throw "Unable to archive"