Skip to content

Commit 172ce80

Browse files
committed
fixed email configuration
1 parent 7063334 commit 172ce80

File tree

1 file changed

+5
-1
lines changed
  • packages/lib/delivery/src/notifications/channels

1 file changed

+5
-1
lines changed

packages/lib/delivery/src/notifications/channels/Email.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ export type EmailNotificationServerConfig = {
1717
// email notification configuration
1818
export type EmailNotificationUserConfig = {
1919
recipientAddress: string;
20+
};
21+
22+
type UserEmailConfig = {
23+
recipientAddress: string;
2024
notificationType: NotificationType;
2125
};
2226

2327
// method to send email
2428
export function Email(config: EmailNotificationServerConfig) {
2529
const send = async (
26-
mailConfig: EmailNotificationUserConfig,
30+
mailConfig: UserEmailConfig,
2731
deliveryInformation: DeliveryInformation,
2832
) => {
2933
try {

0 commit comments

Comments
 (0)