mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
fix authorization
This commit is contained in:
@@ -285,6 +285,9 @@ export async function handleDiscordPayload(
|
|||||||
shardID: number,
|
shardID: number,
|
||||||
) {
|
) {
|
||||||
await fetch(ws.url, {
|
await fetch(ws.url, {
|
||||||
|
headers: {
|
||||||
|
authorization: ws.secretKey,
|
||||||
|
},
|
||||||
method: "post",
|
method: "post",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
shardID,
|
shardID,
|
||||||
|
|||||||
Reference in New Issue
Block a user