mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-02-11 14:02:58 +00:00
Merge pull request #52 from mavolin/38-payload
This commit is contained in:
commit
79c3d58db3
|
@ -64,7 +64,7 @@ func (c *Client) CreateInvite(
|
|||
return inv, c.RequestJSON(
|
||||
&inv, "POST",
|
||||
EndpointChannels+channelID.String()+"/invites",
|
||||
httputil.WithSchema(c, param),
|
||||
httputil.WithJSONBody(param),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue