Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2227,10 +2227,10 @@ export class UserService {
const welcomeEmailPayload = {
data: {
handle: user.handle,
// Add other data fields specific to the welcome template if needed
userId: userId,
},
from: { email: fromEmail },
version: 'v6',
version: 'v3',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ correctness]
Downgrading the version from 'v6' to 'v3' could potentially lead to compatibility issues if the template or API expects a newer version. Ensure that the 'v3' version is compatible with the current template and API requirements.

sendgrid_template_id: welcomeTemplateId,
recipients: [emailAddress],
};
Expand Down
Loading