Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Nov 21, 2024
1 parent 8227091 commit fb55e48
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -8223,8 +8223,6 @@ func SaveWorkflow(resp http.ResponseWriter, request *http.Request) {
if ((strings.ToLower(action.AppName) == "http" && param.Name == "body") || (strings.ToLower(action.Name) == "send_sms_shuffle" || strings.ToLower(action.Name) == "send_email_shuffle") && param.Name == "apikey") || (action.Name == "repeat_back_to_me") || (action.Name == "filter_list" && param.Name == "field") {
// Do nothing
} else {
log.Printf("PARAM: %s, required: %#v, value: %d", param.Name, param.Required, len(param.Value))

thisError := fmt.Sprintf("Action %s is missing required parameter %s", action.Label, param.Name)
if param.Configuration && len(action.AuthenticationId) == 0 {
thisError = fmt.Sprintf("Action %s (%s) requires authentication", action.Label, strings.ToLower(strings.Replace(action.AppName, "_", " ", -1)))
Expand Down

0 comments on commit fb55e48

Please sign in to comment.