Skip to content

Commit

Permalink
Might work idk
Browse files Browse the repository at this point in the history
  • Loading branch information
Blocksnmore committed Jan 17, 2024
1 parent b393c4f commit d126fe9
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2,520 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"javascriptreact": "html",
"typescriptreact": "html"
},
"deno.disablePaths": ["./.react-email"]
"deno.disablePaths": [
"./.react-email"
],
"workbench.iconTheme": "vscode-icons"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "emails",
"version": "0.0.18",
"private": true,

"workspaces": [
".react-email"
],
Expand All @@ -12,6 +11,7 @@
},
"dependencies": {
"@react-email/components": "^0.0.12",
"@tailwindcss/typography": "^0.5.10",
"react-email": "1.10.0"
}
}
4 changes: 3 additions & 1 deletion utils/email/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export const sendEmail = async (
message: { fallback: string; html?: string },
) => {
const params: SendEmailRequest = {
Source: Deno.env.get("AWS_EMAIL_SOURCE") || `"Events" <[email protected]>`,
// Due to fresh config stuff
Source: // Deno.env.get("AWS_EMAIL_SOURCE") ||
`"Events" <[email protected]>`,
Destination: {
ToAddresses: to,
},
Expand Down
Loading

0 comments on commit d126fe9

Please sign in to comment.