Skip to content

Commit ada0ec5

Browse files
committed
fix(email): remove hardcoded subject from SendGrid template
- Remove 'subject' field from SendGrid template data - This change allows the email subject to be dynamically set in the template
1 parent c3de82a commit ada0ec5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/src/email_sendgrid.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class EmailSendGrid implements EmailClient {
5050
},
5151
],
5252
'from': {'email': senderEmail},
53-
'subject': templateData['otp_code'],
5453
'template_id': templateId,
5554
};
5655

0 commit comments

Comments
 (0)