Skip to content

Commit

Permalink
Merge pull request #5069 from novuhq/fix/resend-sender-name
Browse files Browse the repository at this point in the history
fix: add options in resend senderName
  • Loading branch information
BiswaViraj authored Jan 12, 2024
2 parents 7e5097b + 865ddab commit 0adb2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/resend/src/lib/resend.provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class ResendEmailProvider implements IEmailProvider {
async sendMessage(
options: IEmailOptions
): Promise<ISendMessageSuccessResponse> {
const senderName = this.config?.senderName;
const senderName = options.senderName || this.config?.senderName;
const fromAddress = options.from || this.config.from;

const response: any = await this.resendClient.sendEmail({
Expand Down

0 comments on commit 0adb2c5

Please sign in to comment.