Skip to content

Commit

Permalink
fix to field
Browse files Browse the repository at this point in the history
  • Loading branch information
claromes committed Nov 11, 2024
1 parent b170fe7 commit 8147050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sendReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { logging } from "./../utils/utils.ts";

const RESEND_API_KEY = Deno.env.get("RESEND_API_KEY");
const RESEND_EMAIL_FROM = Deno.env.get("RESEND_EMAIL_FROM") as string;
const RESEND_EMAIL_TO = Deno.env.get("RESEND_EMAIL_TO") as string;
const RESEND_EMAIL_TO = JSON.parse(Deno.env.get("RESEND_EMAIL_TO") as string);

export async function sendReport(subject: string, text: string): Promise<void> {
const resend = new Resend(RESEND_API_KEY);
Expand Down

0 comments on commit 8147050

Please sign in to comment.