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
1 changed files with 1 additions and 1 deletions

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