Skip to content

Commit 68b47c2

Browse files
committed
Potential fix for activation emails
1 parent 725705f commit 68b47c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/api/user/auth-flow.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export class AuthFlowService {
369369
const activationEmailPayload = {
370370
data: { handle: userOtp.handle, code: userOtp.otp },
371371
from: { email: fromEmail },
372-
version: 'v6',
372+
version: 'v3',
373373
sendgrid_template_id: sendgridTemplateId,
374374
recipients: [primaryEmail], // The user's primary email
375375
};

src/api/user/user.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ export class UserService {
10811081
const activationEmailPayload = {
10821082
data: { handle: newUser.handle, code: otpForActivation },
10831083
from: { email: fromEmail },
1084-
version: 'v6',
1084+
version: 'v3',
10851085
sendgrid_template_id: sendgridTemplateId,
10861086
recipients: [userParams.email], // The original email used for registration
10871087
};
@@ -2311,7 +2311,7 @@ export class UserService {
23112311
subDomain: 'www',
23122312
path: '/home',
23132313
redirectUrl: `https%3A%2F%2Fwww.${domain}%2Fhome`,
2314-
version: 'v6',
2314+
version: 'v3',
23152315
sendgrid_template_id: sendGridTemplateId,
23162316
};
23172317

@@ -2370,7 +2370,7 @@ export class UserService {
23702370
const activationEmailPayload = {
23712371
data: { handle: userOtp.handle, code: userOtp.otp },
23722372
from: { email: fromEmail },
2373-
version: 'v6',
2373+
version: 'v3',
23742374
sendgrid_template_id: sendgridTemplateId,
23752375
recipients: [primaryEmail], // The user's primary email
23762376
};

0 commit comments

Comments
 (0)