Skip to content

Commit

Permalink
Update packages/faustwp-cli/src/healthCheck/validateFaustEnvVars.ts
Browse files Browse the repository at this point in the history
Co-authored-by: John Parris <[email protected]>
  • Loading branch information
TeresaGobble and mindctrl authored Feb 15, 2024
1 parent bb16211 commit d5adc5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const validateFaustEnvVars = async () => {
// send secret key
const apiUrl = `${getWpUrl()}/wp-json/faustwp/v1/validate_secret_key`;
const headers = {
'x-faustwp-secret': getWpSecret() || '',
'x-faustwp-secret': getWpSecret(),
};
try {
const response = await fetch(apiUrl, {
Expand Down

0 comments on commit d5adc5b

Please sign in to comment.