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 24, 2023
1 parent 54b39bf commit 2b1208b
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 2b1208b

Please sign in to comment.