mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Don't alert user of 403 errors for webhook key
This commit is contained in:
parent
885841caea
commit
d500c1bb40
@ -305,6 +305,9 @@ angular.module('templates', [surveyMaker.name, jobTemplates.name, labels.name, p
|
||||
return data.webhook_key || '';
|
||||
})
|
||||
.catch(({data, status}) => {
|
||||
if (status === 403) {
|
||||
return;
|
||||
}
|
||||
ProcessErrors(null, data, status, null, {
|
||||
hdr: i18n._('Error!'),
|
||||
msg: i18n._('Failed to get webhook key GET returned ') + status
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user