nitro-web 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server/email/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"repository": "github:boycce/nitro-web",
|
|
5
5
|
"homepage": "https://boycce.github.io/nitro-web/",
|
|
6
6
|
"description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",
|
package/server/email/index.js
CHANGED
|
@@ -91,11 +91,11 @@ export async function sendEmail({
|
|
|
91
91
|
for (let toNameEmail of toSplit) {
|
|
92
92
|
const [toName, toEmail] = getNameEmail(toNameEmail)
|
|
93
93
|
recipientVariables[toEmail] = {
|
|
94
|
-
...(data || {}),
|
|
95
94
|
configName: ucFirst(config.name),
|
|
96
95
|
domain: config.baseUrl,
|
|
97
96
|
replyToEmail: getNameEmail(replyTo)[1],
|
|
98
97
|
replyToName: getNameEmail(replyTo)[0],
|
|
98
|
+
...(data || {}),
|
|
99
99
|
email: toEmail,
|
|
100
100
|
greet: toName ? 'Hi ' + toName : 'Hello',
|
|
101
101
|
name: toName,
|