Don't alert user of 403 errors for webhook key

This commit is contained in:
Jake McDermott 2019-09-20 11:23:03 -04:00 committed by Jeff Bradberry
parent 885841caea
commit d500c1bb40

View File

@ -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