@xenterprises/fastify-xconfig 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xenterprises/fastify-xconfig",
3
3
  "type": "module",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "description": "Fastify configuration plugin for setting up middleware, services, and route handling.",
6
6
  "main": "src/xConfig.js",
7
7
  "scripts": {
@@ -115,10 +115,10 @@ export async function setupAuth(fastify, options) {
115
115
  },
116
116
  });
117
117
 
118
- // Send welcome email
119
- if (options.user?.sendWelcomeEmail) {
120
- await fastify.sendGrid.sendEmail(email, auth?.user?.registerEmail?.subject, auth?.user?.registerEmail?.templateId, { name: firstName, email });
121
- }
118
+ // // Send welcome email
119
+ // if (options.user?.sendWelcomeEmail) {
120
+ // await fastify.sendGrid.sendEmail(email, auth?.user?.registerEmail?.subject, auth?.user?.registerEmail?.templateId, { name: firstName, email });
121
+ // }
122
122
 
123
123
 
124
124
  // Issue access token