Skip to content

Commit

Permalink
chore: update for /rest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ckohen committed Jul 17, 2023
1 parent 98f19c5 commit a66d8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/proxy/src/handlers/proxyRequests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function proxyRequests(rest: REST): RequestHandler {
}

try {
const discordResponse = await rest.raw({
const discordResponse = await rest.queueRequest({
body: req,
fullRoute,
// This type cast is technically incorrect, but we want Discord to throw Method Not Allowed for us
Expand Down

0 comments on commit a66d8c8

Please sign in to comment.