1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-20 17:28:48 +00:00
This commit is contained in:
mavolin 2020-05-11 20:31:44 +02:00
parent d4bdf700f3
commit 35d918eaf1
No known key found for this signature in database
GPG key ID: D8681218EDF216DF

View file

@ -64,7 +64,7 @@ func (c *Client) CreateInvite(
return inv, c.RequestJSON( return inv, c.RequestJSON(
&inv, "POST", &inv, "POST",
EndpointChannels+channelID.String()+"/invites", EndpointChannels+channelID.String()+"/invites",
httputil.WithSchema(c, param), httputil.WithJSONBody(param),
) )
} }