Skip to content

Commit

Permalink
Add missing @ symbol in REST path
Browse files Browse the repository at this point in the history
  • Loading branch information
rxdn committed Jun 18, 2024
1 parent 280437b commit 6a72dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twilight-http-ratelimiting/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ impl FromStr for Path {
let parts = s.split('/').skip(skip).collect::<Vec<&str>>();

Ok(match parts[..] {
["applications", "me"] => ApplicationsMe,
["applications", "@me"] => ApplicationsMe,
["applications", id, "commands"] => ApplicationCommand(parse_id(id)?),
["applications", id, "commands", _] => ApplicationCommandId(parse_id(id)?),
["applications", id, "entitlements"] => ApplicationIdEntitlements(parse_id(id)?),
Expand Down

0 comments on commit 6a72dfe

Please sign in to comment.