fix body
This commit is contained in:
parent
0fe54519ea
commit
29e9e4da8d
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ func (c *Client) AssignAgent(ctx context.Context, userID, agentID int64) error {
|
|||
return err
|
||||
}
|
||||
|
||||
_, err = c.do(ctx, http.MethodPost, "/agent_assignments", bytes.NewReader(body))
|
||||
_, err = c.do(ctx, http.MethodPost, "/agent_assignments", body)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue