Skip to content

Commit

Permalink
Update env name
Browse files Browse the repository at this point in the history
  • Loading branch information
carlagn committed Mar 25, 2024
1 parent a1a673e commit 69cd9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ const siteConfig = {
footer: {
newsletter: {
text: 'Stay up to date with the latest features and changes to Prisma',
BREVO_API_KEY: process.env.BREVO_API_KEY || '',
GATSBY_BREVO_API_KEY: process.env.GATSBY_BREVO_API_KEY || '',
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/newsletter/FooterNewsletterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const FooterNewsletterForm = ({ theme, color = 'indigo' }: FooterNewslett
headers: {
accept: 'application/json',
'content-type': 'application/json',
'api-key': config.footer.newsletter.BREVO_API_KEY,
'api-key': config.footer.newsletter.GATSBY_BREVO_API_KEY,
},
body: JSON.stringify({
email: email,
Expand Down

0 comments on commit 69cd9ae

Please sign in to comment.