We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8964504 commit 6a63c44Copy full SHA for 6a63c44
packages/proxy/src/handlers/proxyRequests.ts
@@ -32,6 +32,10 @@ export function proxyRequests(rest: REST): RequestHandler {
32
headers.authorization = req.headers.authorization;
33
}
34
35
+ if (req.headers['x-audit-log-reason']) {
36
+ headers['x-audit-log-reason'] = req.headers['x-audit-log-reason'] as string;
37
+ }
38
+
39
try {
40
const discordResponse = await rest.queueRequest({
41
body: req,
0 commit comments