fix cancel-delete urls

This commit is contained in:
Jake McDermott 2018-04-10 10:58:33 -04:00
parent ea900b6f95
commit 02f9fd0ca0
No known key found for this signature in database
GPG Key ID: 3B02CAD476EECB35

View File

@ -436,7 +436,7 @@ function cancelJob () {
const resourceName = `#${id} ${name}`;
const method = 'POST';
const url = `${resource.model.path}/${id}/cancel/`;
const url = `${resource.model.path}${id}/cancel/`;
const errorHandler = createErrorHandler('cancel job', method);
@ -465,7 +465,7 @@ function deleteJob () {
const resourceName = `#${id} ${name}`;
const method = 'DELETE';
const url = `${resource.model.path}/${id}/`;
const url = `${resource.model.path}${id}/`;
const errorHandler = createErrorHandler('delete job', method);