mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
dude secret key is the shit
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { authorization, eventHandlers, restAuthorization } from "../bot.ts";
|
import { authorization, eventHandlers, secretKey } from "../bot.ts";
|
||||||
import {
|
import {
|
||||||
Errors,
|
Errors,
|
||||||
FileContent,
|
FileContent,
|
||||||
@@ -224,7 +224,7 @@ function runMethod(
|
|||||||
return fetch(url, {
|
return fetch(url, {
|
||||||
body: JSON.stringify(body || {}),
|
body: JSON.stringify(body || {}),
|
||||||
headers: {
|
headers: {
|
||||||
authorization: restAuthorization,
|
authorization: secretKey,
|
||||||
},
|
},
|
||||||
method: method.toUpperCase(),
|
method: method.toUpperCase(),
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user