File tree Expand file tree Collapse file tree
packages/runtime/src/nodes/email Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,11 +29,7 @@ import { Spinner } from "@/components/ui/spinner";
2929import { TooltipProvider } from "@/components/ui/tooltip" ;
3030import { EmailCreateDialog } from "@/components/workflow/widgets/input/email-create-dialog" ;
3131import { usePageBreadcrumbs } from "@/hooks/use-page" ;
32- import {
33- deleteEmail ,
34- updateEmail ,
35- useEmails ,
36- } from "@/services/email-service" ;
32+ import { deleteEmail , updateEmail , useEmails } from "@/services/email-service" ;
3733
3834const EMAIL_DOMAIN = import . meta. env . VITE_EMAIL_DOMAIN || "mail.dafthunk.com" ;
3935
Original file line number Diff line number Diff line change @@ -96,9 +96,7 @@ export class SendEmailNode extends ExecutableNode {
9696 subject : subject as string ,
9797 ...( html ? { html : html as string } : { } ) ,
9898 ...( text ? { text : text as string } : { } ) ,
99- ...( cc
100- ? { cc : typeof cc === "string" ? cc : ( cc as string [ ] ) }
101- : { } ) ,
99+ ...( cc ? { cc : typeof cc === "string" ? cc : ( cc as string [ ] ) } : { } ) ,
102100 ...( replyTo
103101 ? {
104102 replyTo : Array . isArray ( replyTo )
You can’t perform that action at this time.
0 commit comments