Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed Jan 19, 2021
1 parent 670b033 commit 28e4e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/actions/server/actions_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function disabledActionTypeErrorMessage(actionType: string) {
function isAllowed({ allowedHosts }: ActionsConfigType, hostname: string | null): boolean {
const allowed = new Set(allowedHosts);
if (allowed.has(AllowedHosts.Any)) return true;
if (hostname && allowed.has(hostname)) return true;
if (allowed.has(hostname)) return true;
return false;
}

Expand Down

0 comments on commit 28e4e23

Please sign in to comment.