Skip to content

Commit 109a41c

Browse files
committed
Fix comments of callflow CRUD functions
1 parent 69cb51f commit 109a41c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

voice/callflow.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func CallFlows(client *messagebird.Client) *Paginator {
114114
return newPaginator(client, "call-flow/", reflect.TypeOf(CallFlow{}))
115115
}
116116

117-
// CreateCallFlow creates the callflow remotely.
117+
// Create creates the callflow remotely.
118118
//
119119
// The callflow is updated in-place.
120120
func (callflow *CallFlow) Create(client *messagebird.Client) error {
@@ -128,7 +128,7 @@ func (callflow *CallFlow) Create(client *messagebird.Client) error {
128128
return nil
129129
}
130130

131-
// UpdateCallFlow updates the call flow by overwriting it.
131+
// Update updates the call flow by overwriting it.
132132
//
133133
// An error is returned if no such call flow exists or is accessible.
134134
func (callflow *CallFlow) Update(client *messagebird.Client) error {
@@ -142,7 +142,7 @@ func (callflow *CallFlow) Update(client *messagebird.Client) error {
142142
return nil
143143
}
144144

145-
// DeleteCallFlow deletes the CallFlow.
145+
// Delete deletes the CallFlow.
146146
func (callflow *CallFlow) Delete(client *messagebird.Client) error {
147147
return client.Request(nil, "DELETE", "call-flow/"+callflow.ID, nil)
148148
}

0 commit comments

Comments
 (0)