fix: schedule unscheduled emails with tasker in cron job (#20748)
Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
dc361f7879
commit
ffb36509ff
7 files changed
+173
-109
No files matched your search
@@ -52,10 +52,6 @@ const getDownloadLinkOfCalVideo = async (recordingId: string) => {
|
||||
};
|
||||
|
||||
export async function postHandler(request: NextRequest) {
|
||||
if (!process.env.SENDGRID_API_KEY || !process.env.SENDGRID_EMAIL) {
|
||||
return NextResponse.json({ message: "No SendGrid API key or email" }, { status: 405 });
|
||||
}
|
||||
|
||||
const body = await request.json();
|
||||
|
||||
if (testRequestSchema.safeParse(body).success) {
|
||||
|
||||
Reference in new issue
Block a user