mirror of
https://github.com/retailcrm/api-client-go.git
synced 2025-04-03 13:13:37 +03:00
Merge pull request #2 from Neur0toxine/patch-1
Fix unterminated string literal
This commit is contained in:
commit
0ec1160c99
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"log
|
||||
"log"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"strconv"
|
||||
|
@ -4539,7 +4539,7 @@ func (c *Client) UserStatus(id int, status string) (SuccessfulResponse, int, err
|
|||
}
|
||||
|
||||
data, st, err := c.PostRequest(fmt.Sprintf("/users/%d/status", id), p)
|
||||
if err != nil {
|
||||
if err != nil {
|
||||
return resp, st, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue