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