Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
Browse files Browse the repository at this point in the history
…-ref HEAD~1..HEAD --fix'
  • Loading branch information
kibanamachine committed Apr 27, 2023
1 parent e355d66 commit 131af31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export const getSyntheticsEnablementRoute: SyntheticsRestApiRouteFactory = (libs
});
}
const regenerationRequired = !isEnabled || !isValid;
const shouldEnableApiKey = server.config.service?.manifestUrl || server.config.service?.devUrl;
const shouldEnableApiKey =
server.config.service?.manifestUrl || server.config.service?.devUrl;
if (canEnable && regenerationRequired && shouldEnableApiKey) {
await generateAndSaveServiceAPIKey({
request,
Expand Down

0 comments on commit 131af31

Please sign in to comment.