diff options
author | Unknwon <u@gogs.io> | 2018-12-02 12:55:16 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-12-02 12:55:16 -0500 |
commit | e755aafe29354f1ec46b0418b0fb6b92ca6aeabb (patch) | |
tree | 1097fee0471b6d1bdf8f39fc628b7b656b7a35ef /vendor/github.com/gogs/go-gogs-client/user_follow.go | |
parent | e1b3a250085195122c3b41b998504692f47fcb63 (diff) |
vendor: update github.com/gogs/go-gogs-client
Diffstat (limited to 'vendor/github.com/gogs/go-gogs-client/user_follow.go')
-rw-r--r-- | vendor/github.com/gogs/go-gogs-client/user_follow.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/gogs/go-gogs-client/user_follow.go b/vendor/github.com/gogs/go-gogs-client/user_follow.go index 36cc65d4..5ba20cc0 100644 --- a/vendor/github.com/gogs/go-gogs-client/user_follow.go +++ b/vendor/github.com/gogs/go-gogs-client/user_follow.go @@ -37,7 +37,7 @@ func (c *Client) IsUserFollowing(user, target string) bool { } func (c *Client) Follow(target string) error { - _, err := c.getResponse("PUT", fmt.Sprintf("/user/following/%s", target), nil, nil) + _, err := c.getResponse("PUT", fmt.Sprintf("/user/following/%s", target), jsonHeader, nil) return err } |