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:
parent
56f7601547
commit
31a96c888f
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue