Reviewed Job Package

This commit is contained in:
Inga Kirschnick committed 2023-03-10 08:47:03 +01:00
1 parent 3789f61ca4
commit 57a598ed20
5 files changed
+185 -150

No files matched your search

+8
View File
@@ -21,3 +21,11 @@ Requests.jobs.entity.log = (jobId) => {
};
return Requests.JSONfetch(input, init);
}
Requests.jobs.entity.restart = (jobId) => {
let input = `/jobs/${jobId}/restart`;
let init = {
method: 'POST'
};
return Requests.JSONfetch(input, init);
}