mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
Apply 403 alert fixes for Workflows, too
This commit is contained in:
committed by
Jeff Bradberry
parent
d500c1bb40
commit
e85ff83be6
@@ -483,6 +483,9 @@ angular.module('templates', [surveyMaker.name, jobTemplates.name, labels.name, p
|
|||||||
return data.webhook_key || '';
|
return data.webhook_key || '';
|
||||||
})
|
})
|
||||||
.catch(({data, status}) => {
|
.catch(({data, status}) => {
|
||||||
|
if (status === 403) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
ProcessErrors(null, data, status, null, {
|
ProcessErrors(null, data, status, null, {
|
||||||
hdr: i18n._('Error!'),
|
hdr: i18n._('Error!'),
|
||||||
msg: i18n._('Failed to get webhook key GET returned ') + status
|
msg: i18n._('Failed to get webhook key GET returned ') + status
|
||||||
|
|||||||
Reference in New Issue
Block a user