From 141f8f24508dcc92eaed7138cf3e86d90d24c109 Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Mon, 27 May 2024 02:58:45 +0530 Subject: [PATCH] fix[mail-app]: wrapping up --- shared.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared.go b/shared.go index 72e754f..bb53fa2 100755 --- a/shared.go +++ b/shared.go @@ -18095,7 +18095,7 @@ func PrepareWorkflowExecution(ctx context.Context, workflow Workflow, request *h backupApikey = user.ApiKey } - if len(user.Orgs) == 1 || user.ActiveOrg.Id == workflowExecution.Workflow.OrgId { + if (len(user.Orgs) == 1 || user.ActiveOrg.Id == workflowExecution.Workflow.OrgId) && action.Name != "send_email_shuffle" { //log.Printf("Choice: %s, %s - %s", user.Username, user.Id, user.ApiKey) action.Parameters[paramKey].Value = user.ApiKey break