Skip to content

Commit

Permalink
"recState" -> "jobState"
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoile committed Mar 13, 2024
1 parent 312539a commit 9dbbcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (c *Client) handleWSMsg(msg ws.Message) error {
return errCallEnded
}
case wsEventCallRecordingState:
data, ok := ev.GetData()["recState"].(map[string]any)
data, ok := ev.GetData()["jobState"].(map[string]any)
if !ok {
return fmt.Errorf("invalid recording state")
}
Expand Down

0 comments on commit 9dbbcd8

Please sign in to comment.