API: remove params

This commit is contained in:
mavolin 2020-05-12 05:08:55 +02:00
parent 56f7601547
commit 31a96c888f
No known key found for this signature in database
GPG Key ID: D8681218EDF216DF
1 changed files with 0 additions and 6 deletions

View File

@ -12,12 +12,6 @@ var EndpointInvites = Endpoint + "invites/"
//
// ApproxMembers will not get filled.
func (c *Client) Invite(code string) (*discord.Invite, error) {
var params struct {
WithCounts bool `schema:"with_counts"`
}
params.WithCounts = false
var inv *discord.Invite
return inv, c.RequestJSON(
&inv, "GET",