Skip to content

Commit

Permalink
Fix start_integration_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
abalabahaha authored and Austin Hellyer committed Dec 1, 2016
1 parent f53124e commit 7f04179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/rest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1467,12 +1467,12 @@ pub fn start_guild_prune(guild_id: u64, map: Value)
GuildPrune::decode(try!(serde_json::from_reader(response)))
}

/// Adds an integration to a guild.
/// Starts syncing an integration with a guild.
pub fn start_integration_sync(guild_id: u64, integration_id: u64)
-> Result<()> {
verify(204, request!(Route::GuildsIdIntegrationsIdSync(guild_id),
post,
"/guilds/{}/integrations/{}",
"/guilds/{}/integrations/{}/sync",
guild_id,
integration_id))
}
Expand Down

0 comments on commit 7f04179

Please sign in to comment.