From 8aac0f708fd8e913b84734a7e6ab8d47ec446216 Mon Sep 17 00:00:00 2001 From: Skillz Date: Thu, 25 Feb 2021 15:29:47 -0500 Subject: [PATCH] dude secret key is the shit --- src/rest/request_manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rest/request_manager.ts b/src/rest/request_manager.ts index af77cb559..6e9ca69c5 100644 --- a/src/rest/request_manager.ts +++ b/src/rest/request_manager.ts @@ -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(), })