File tree Expand file tree Collapse file tree
apps/web/app/(ee)/api/cron/campaigns/broadcast Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,6 +152,14 @@ export async function POST(req: Request) {
152152 in : campaignGroupIds ,
153153 } ,
154154 } ) ,
155+ ...( campaign . programId === "prog_1K0QHV7MP3PR05CJSCF5VN93X" && {
156+ partner : {
157+ country : "US" ,
158+ email : {
159+ endsWith : ".edu" ,
160+ } ,
161+ } ,
162+ } ) ,
155163 } ,
156164 select : {
157165 id : true ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const resendEmailForOptions = (
2929 const baseOptions = {
3030 to : isProdEnv ? to : "delivered@resend.dev" ,
3131 from : from || VARIANT_TO_FROM_MAP [ variant ] ,
32- subject : `${ ! isProdEnv && gitBranch ? `[${ gitBranch } ] ` : "" } ${ subject } ` ,
32+ subject : `${ subject } ${ ! isProdEnv && gitBranch ? ` [${ gitBranch } ]` : "" } ` ,
3333 bcc,
3434 // if replyTo is set to "noreply@dub.co", don't set replyTo
3535 // else set it to the value of replyTo or fallback to support@dub .co
You can’t perform that action at this time.
0 commit comments