@goweekdays/core 2.15.3 → 2.15.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/dist/index.mjs CHANGED
@@ -11021,8 +11021,8 @@ function useOrgService() {
11021
11021
  mailer.sendMail({
11022
11022
  to: verification.email,
11023
11023
  subject: "Welcome to GoWeekdays - Your Organization is Ready",
11024
- html: emailContent,
11025
- from: "GoWeekdays"
11024
+ from: `"GoWeekdays" <support@goweekdays.com>`,
11025
+ html: emailContent
11026
11026
  }).catch((error2) => {
11027
11027
  logger28.log({
11028
11028
  level: "error",
@@ -11158,8 +11158,8 @@ function useOrgService() {
11158
11158
  mailer.sendMail({
11159
11159
  to: verification.email,
11160
11160
  subject: "Welcome to GoWeekdays - Your Organization is Ready",
11161
- html: emailContent,
11162
- from: "GoWeekdays"
11161
+ from: `"GoWeekdays" <support@goweekdays.com>`,
11162
+ html: emailContent
11163
11163
  }).catch((error2) => {
11164
11164
  logger28.log({
11165
11165
  level: "error",
@@ -12072,7 +12072,7 @@ function useVerificationService() {
12072
12072
  to: email,
12073
12073
  subject: "Member Invite",
12074
12074
  html: emailContent2,
12075
- from: "GoWeekdays"
12075
+ from: `"GoWeekdays" <support@goweekdays.com>`
12076
12076
  }).catch((error) => {
12077
12077
  logger30.log({
12078
12078
  level: "error",
@@ -12094,7 +12094,7 @@ function useVerificationService() {
12094
12094
  to: email,
12095
12095
  subject: "User Invite",
12096
12096
  html: emailContent,
12097
- from: "GoWeekdays"
12097
+ from: `"GoWeekdays" <support@goweekdays.com>`
12098
12098
  }).catch((error) => {
12099
12099
  logger30.log({
12100
12100
  level: "error",
@@ -12128,7 +12128,7 @@ function useVerificationService() {
12128
12128
  mailer.sendMail({
12129
12129
  to: email,
12130
12130
  subject: "Forget Password",
12131
- from: "GoWeekdays",
12131
+ from: `"GoWeekdays" <support@goweekdays.com>`,
12132
12132
  html: emailContent
12133
12133
  }).catch((error) => {
12134
12134
  logger30.log({
@@ -12319,7 +12319,7 @@ function useVerificationService() {
12319
12319
  to: email,
12320
12320
  subject: "Sign Up Verification",
12321
12321
  html: emailContent,
12322
- from: "GoWeekdays"
12322
+ from: `"GoWeekdays" <support@goweekdays.com>`
12323
12323
  }).catch((error) => {
12324
12324
  logger30.log({
12325
12325
  level: "error",
@@ -12411,7 +12411,7 @@ function useVerificationService() {
12411
12411
  to: value.email,
12412
12412
  subject: "Member Invite",
12413
12413
  html: emailContent2,
12414
- from: "GoWeekdays"
12414
+ from: `"GoWeekdays" <support@goweekdays.com>`
12415
12415
  }).catch((error2) => {
12416
12416
  logger30.log({
12417
12417
  level: "error",
@@ -12433,7 +12433,7 @@ function useVerificationService() {
12433
12433
  to: value.email,
12434
12434
  subject: "User Invite",
12435
12435
  html: emailContent,
12436
- from: "GoWeekdays"
12436
+ from: `"GoWeekdays" <support@goweekdays.com>`
12437
12437
  }).catch((error2) => {
12438
12438
  logger30.log({
12439
12439
  level: "error",
@@ -12501,16 +12501,11 @@ function useVerificationService() {
12501
12501
  },
12502
12502
  filePath
12503
12503
  });
12504
- mailer.sendMail({
12504
+ await mailer.sendMail({
12505
12505
  to: email,
12506
12506
  subject: "Forget Password",
12507
- from: "GoWeekdays",
12507
+ from: `"GoWeekdays" <support@goweekdays.com>`,
12508
12508
  html: emailContent
12509
- }).catch((error2) => {
12510
- logger30.log({
12511
- level: "error",
12512
- message: `Error sending forget password email: ${error2}`
12513
- });
12514
12509
  });
12515
12510
  return "Successfully created a link to reset password. Please check your email.";
12516
12511
  } catch (error2) {
@@ -12625,7 +12620,7 @@ function useVerificationService() {
12625
12620
  to: value.email,
12626
12621
  subject: value.pilot ? "Pilot Organization Invitation" : "Organization Invitation",
12627
12622
  html: emailContent,
12628
- from: "GoWeekdays"
12623
+ from: `"GoWeekdays" <support@goweekdays.com>`
12629
12624
  });
12630
12625
  await session?.commitTransaction();
12631
12626
  return "Successfully created organization invite.";