diff options
| author | Zeyla Hellyer <[email protected]> | 2017-10-09 15:54:48 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-10-09 15:54:48 -0700 |
| commit | 1735e57ea57bcd4d75b73ac9398e13bee5198c5b (patch) | |
| tree | 9c01b9615da98a863a8a13d2495c47cefdca9c53 /src/http/ratelimiting.rs | |
| parent | Reset shard heartbeat state on resume (diff) | |
| download | serenity-1735e57ea57bcd4d75b73ac9398e13bee5198c5b.tar.xz serenity-1735e57ea57bcd4d75b73ac9398e13bee5198c5b.zip | |
Make webhook_id a majour parameter in ratelimiting
This change is made due to this change in documentation:
<https://github.com/discordapp/discord-api-docs/commit/32d06c360867cead6aa785ff10c437fdb2743bd6?short_path=5f625d6#diff-5f625d6c4303e22c3d6af4c8d6df28fe>
Diffstat (limited to 'src/http/ratelimiting.rs')
| -rw-r--r-- | src/http/ratelimiting.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs index ed3eb71..93ca4f6 100644 --- a/src/http/ratelimiting.rs +++ b/src/http/ratelimiting.rs @@ -338,7 +338,7 @@ pub enum Route { /// Route for the `/voice/regions` path. VoiceRegions, /// Route for the `/webhooks/:webhook_id` path. - WebhooksId, + WebhooksId(u64), /// Route where no ratelimit headers are in place (i.e. user account-only /// routes). /// |