Skip to content

Commit fcb1daa

Browse files
authored
Fix path to the HTTP endpoint of interaction responses (#1169)
1 parent 0b1fc27 commit fcb1daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/routing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ impl Route {
722722
application_id: u64,
723723
token: D,
724724
) -> String {
725-
format!(api!("/webhooks/{}/{}/callback"), application_id, token)
725+
format!(api!("/interactions/{}/{}/callback"), application_id, token)
726726
}
727727

728728
#[cfg(feature = "unstable_discord_api")]

0 commit comments

Comments
 (0)