From 52443e71f60e6f9885cae76fd39f3160b6cde409 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 26 Dec 2021 19:33:39 +0500 Subject: [PATCH] smol fix --- commands/General/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/General/github.js b/commands/General/github.js index f0a2264c..f6ddc529 100644 --- a/commands/General/github.js +++ b/commands/General/github.js @@ -20,7 +20,7 @@ class Github extends Command { async run(message, args, data) { const res = await fetch("https://api.github.com/repos/JonnyBro/JaBa-new", { - headers: `Authorization: ${this.config.githubToken}` + headers: `Authorization: ${data.config.githubToken}` }); const json = await res.json();