mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Update Job Blueprint package
This commit is contained in:
		@@ -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