1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-02-11 05:52:58 +00:00

Merge pull request #52 from mavolin/38-payload

This commit is contained in:
diamondburned 2020-05-11 17:17:17 -07:00 committed by GitHub
commit 79c3d58db3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),
)
}