From 6a72dfeb81a2ee88f99c539452ce60124b5b1fec Mon Sep 17 00:00:00 2001 From: rxdn <29165304+rxdn@users.noreply.github.com> Date: Tue, 18 Jun 2024 23:53:49 +0100 Subject: [PATCH] Add missing @ symbol in REST path --- twilight-http-ratelimiting/src/request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twilight-http-ratelimiting/src/request.rs b/twilight-http-ratelimiting/src/request.rs index 394ec2b374..44e91d3b65 100644 --- a/twilight-http-ratelimiting/src/request.rs +++ b/twilight-http-ratelimiting/src/request.rs @@ -338,7 +338,7 @@ impl FromStr for Path { let parts = s.split('/').skip(skip).collect::>(); 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)?),