Apply 403 alert fixes for Workflows, too

This commit is contained in:
Jake McDermott
2019-09-20 11:36:00 -04:00
committed by Jeff Bradberry
parent d500c1bb40
commit e85ff83be6

View File

@@ -483,6 +483,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