mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-11 19:04:24 +00:00
Update Job Blueprint package
This commit is contained in:
1 parent
bb60a2ba67
commit
0d1805fb76
9 files changed
+92
-98
No files matched your search
@@ -1,4 +1,8 @@
|
||||
nopaque.app.endpoints.Jobs = class Jobs {
|
||||
constructor(app) {
|
||||
this.app = app;
|
||||
}
|
||||
|
||||
async delete(jobId) {
|
||||
const options = {
|
||||
headers: {
|
||||
@@ -34,7 +38,8 @@ nopaque.app.endpoints.Jobs = class Jobs {
|
||||
const options = {
|
||||
headers: {
|
||||
Accept: 'application/json'
|
||||
}
|
||||
},
|
||||
method: 'POST'
|
||||
};
|
||||
|
||||
const response = await fetch(`/jobs/${jobId}/restart`, options);
|
||||
|
||||
Reference in new issue
Block a user