From 3062d0c5410af26d87b8b8051c39d474a666d4b8 Mon Sep 17 00:00:00 2001 From: split Date: Thu, 21 Nov 2024 21:05:06 -0800 Subject: [PATCH] fix: :bug: use b64url --- src/translators/discord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translators/discord.ts b/src/translators/discord.ts index 9859eb2..8d84e46 100644 --- a/src/translators/discord.ts +++ b/src/translators/discord.ts @@ -48,7 +48,7 @@ export default translator({ client_event_source: null, }) ).toString("base64"), - cookie: Buffer.from(cookie, "base64").toString(), + cookie: Buffer.from(cookie, "base64url").toString(), "X-Discord-Locale": "en-US", "X-Discord-Timezone": "America/Los_Angeles", "X-Debug-Options": "bugReporterEnabled",