Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: account envs not showing up in site build #6122

Merged
merged 7 commits into from
Mar 20, 2025
3 changes: 1 addition & 2 deletions packages/config/src/env/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ const getAccountEnv = async function ({
context?: string
}) {
if (siteInfo.use_envelope) {
const envelope = await getEnvelope({ api, accountId: siteInfo.account_slug, siteId: siteInfo.site_id, context })
return envelope
return await getEnvelope({ api, accountId: siteInfo.account_slug, context })
}
const { site_env: siteEnv = {} } = accounts.find(({ slug }) => slug === siteInfo.account_slug) || {}
return siteEnv
Expand Down
Loading