Merge pull request #2 from Neur0toxine/patch-1

Fix unterminated string literal
This commit is contained in:
RenCurs 2021-04-16 14:41:43 +03:00 committed by Ruslan Efanov
commit 0ec1160c99

View file

@ -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
}