Skip to content

Commit

Permalink
fix bug and debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
harryisfish committed Nov 30, 2022
1 parent 9a8219f commit 9104a05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,10 @@ func (q *Quorum) PostToGroupWithPlainText(groupId, title, content string) (*mode
"type": "Group"
}
}`
resp, err := q.HttpClient.R().SetBody(jsonstring).SetResult(res).Post(url)
_, err := q.HttpClient.R().SetBody(jsonstring).SetResult(res).Post(url)
if err != nil {
return nil, err
}
fmt.Println(resp)
fmt.Println("PostToGroup", res)
return res, nil
}

Expand Down

0 comments on commit 9104a05

Please sign in to comment.