dude secret key is the shit

This commit is contained in:
Skillz
2021-02-25 15:29:47 -05:00
parent cc6a93c180
commit 8aac0f708f
+2 -2
View File
@@ -1,4 +1,4 @@
import { authorization, eventHandlers, restAuthorization } from "../bot.ts";
import { authorization, eventHandlers, secretKey } from "../bot.ts";
import {
Errors,
FileContent,
@@ -224,7 +224,7 @@ function runMethod(
return fetch(url, {
body: JSON.stringify(body || {}),
headers: {
authorization: restAuthorization,
authorization: secretKey,
},
method: method.toUpperCase(),
})