Fix another lint error
This commit is contained in:
parent
4a1147c7ea
commit
fe3b2b311c
@ -75,7 +75,7 @@ func (api *API) MarkNotificationsAsRead() error {
|
|||||||
rslt := struct {
|
rslt := struct {
|
||||||
Cursor string `json:"cursor"`
|
Cursor string `json:"cursor"`
|
||||||
}{}
|
}{}
|
||||||
err = api.do_http_POST("https://twitter.com/i/api/2/notifications/all/last_seen_cursor.json", "cursor=" + cursor, &rslt)
|
err = api.do_http_POST("https://twitter.com/i/api/2/notifications/all/last_seen_cursor.json", "cursor="+cursor, &rslt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user