mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03:30
Merge pull request #1309 from jakemcdermott/fix-delete-cancel-urls
fix cancel-delete urls
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user