Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Jun 14, 2024
1 parent 5c6cc96 commit 4e9bf23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export async function decorateTextarea(cell, extraOptions) {

export async function getSecret(key) {
if (secretCache.length === 0) {
const resp = await fetch('https://main--ecc-milo--adobecom.hlx.page/system/secrets.json')
const resp = await fetch('https://main--ecc-milo--adobecom.hlx.page/system/secrets.json', { headers: { authorization: 'token milo-events-ecc' } })
.then((r) => r)
.catch((e) => window.lana?.log(`Failed to fetch Google Places API key: ${e}`));

Expand Down

0 comments on commit 4e9bf23

Please sign in to comment.