mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 17:23:00 +00:00
API: fix #39
This commit is contained in:
parent
d4bdf700f3
commit
f597d11852
|
@ -226,6 +226,9 @@ func (c *Client) AttachIntegration(
|
||||||
ID discord.Snowflake `json:"id"`
|
ID discord.Snowflake `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
param.Type = integrationType
|
||||||
|
param.ID = integrationID
|
||||||
|
|
||||||
return c.FastRequest(
|
return c.FastRequest(
|
||||||
"POST",
|
"POST",
|
||||||
EndpointGuilds+guildID.String()+"/integrations",
|
EndpointGuilds+guildID.String()+"/integrations",
|
||||||
|
|
Loading…
Reference in a new issue