Skip to content

Commit 6918864

Browse files
author
Adrian-M-A
authored
chore: prepare mentee email to include in mentorship-requested email (#227)
1 parent ed086c3 commit 6918864

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/modules/email/interfaces/email.interface.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ type MentorshipRequested = {
5151
name: 'mentorship-requested';
5252
data: {
5353
menteeName: string;
54+
menteeEmail: string;
5455
mentorName: string;
5556
message: string;
5657
background: string;

src/modules/mentorships/mentorships.controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export class MentorshipsController {
100100
data: {
101101
mentorName: mentor.name,
102102
menteeName: current.name,
103+
menteeEmail: current.email,
103104
message: data.message,
104105
background: data.background,
105106
expectation: data.expectation,

0 commit comments

Comments
 (0)