Skip to content

Commit

Permalink
allow empty save to contact and save result
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Jun 10, 2017
1 parent 31a7ae7 commit faa3417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flows/actions/save_contact_field.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type SaveContactField struct {
BaseAction
FieldUUID flows.FieldUUID `json:"field_uuid" validate:"required,uuid4"`
FieldName string `json:"field_name" validate:"required"`
Value string `json:"value" validate:"required"`
Value string `json:"value"`
}

// Type returns the type of this action
Expand Down
2 changes: 1 addition & 1 deletion flows/actions/save_flow_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const TypeSaveFlowResult string = "save_flow_result"
type SaveFlowResultAction struct {
BaseAction
ResultName string `json:"result_name" validate:"required"`
Value string `json:"value" validate:"required"`
Value string `json:"value"`
Category string `json:"category"`
}

Expand Down

0 comments on commit faa3417

Please sign in to comment.