Skip to content

Commit

Permalink
Add omitempty to vonage machine_detection field
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyist committed Jan 2, 2024
1 parent 3e86963 commit aaded2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/ivr/vonage/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type CallRequest struct {
EventMethod string `json:"event_method"`

NCCO []NCCO `json:"ncco,omitempty"`
MachineDetection string `json:"machine_detection"`
MachineDetection string `json:"machine_detection,omitempty"`
RingingTimer int `json:"ringing_timer,omitempty"`
}

Expand Down

0 comments on commit aaded2a

Please sign in to comment.