Skip to content

Commit 5481fbd

Browse files
committed
s/CallFlow/Call/ in error messages
1 parent 5a6ec99 commit 5481fbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

voice/call.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,17 @@ func (call *Call) UnmarshalJSON(data []byte) error {
7676
}
7777
createdAt, err := time.Parse(time.RFC3339, raw.CreatedAt)
7878
if err != nil {
79-
return fmt.Errorf("unable to parse CallFlow CreatedAt: %v", err)
79+
return fmt.Errorf("unable to parse Call CreatedAt: %v", err)
8080
}
8181
updatedAt, err := time.Parse(time.RFC3339, raw.UpdatedAt)
8282
if err != nil {
83-
return fmt.Errorf("unable to parse CallFlow UpdatedAt: %v", err)
83+
return fmt.Errorf("unable to parse Call UpdatedAt: %v", err)
8484
}
8585
var endedAt *time.Time
8686
if raw.EndedAt != "" {
8787
eat, err := time.Parse(time.RFC3339, raw.EndedAt)
8888
if err != nil {
89-
return fmt.Errorf("unable to parse CallFlow EndedAt: %v", err)
89+
return fmt.Errorf("unable to parse Call EndedAt: %v", err)
9090
}
9191
endedAt = &eat
9292
}

0 commit comments

Comments
 (0)