Skip to content

Commit

Permalink
fix[mail-app]: wrapping up
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0elliot committed May 26, 2024
1 parent 15d3224 commit 141f8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 141f8f2

Please sign in to comment.