MED-82: add patient notification emails (#74)
* MED-82: add patient notification emails * remove console.log * clean up * remove extra paragraph from email
This commit is contained in:
@@ -13,7 +13,7 @@ type EmailTemplate = {
|
||||
subject: string;
|
||||
};
|
||||
|
||||
type EmailRenderer<T = any> = (params: T) => Promise<EmailTemplate>;
|
||||
export type EmailRenderer<T = any> = (params: T) => Promise<EmailTemplate>;
|
||||
|
||||
export const sendEmailFromTemplate = async <T>(
|
||||
renderer: EmailRenderer<T>,
|
||||
|
||||
Reference in New Issue
Block a user