1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00

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

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",