diff --git a/restapi.go b/restapi.go index a0e85f8..e4cd6fa 100644 --- a/restapi.go +++ b/restapi.go @@ -1819,6 +1819,9 @@ func (s *Session) ChannelNewsFollow(channelID, targetID string) (st *ChannelFoll }{targetID} body, err := s.RequestWithBucketID("POST", endpoint, data, endpoint) + if err != nil { + return + } err = unmarshal(body, &st) return