diff options
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 } |