This commit is contained in:
JonnyBro 2021-12-26 19:33:39 +05:00
parent 65316d8e3c
commit 52443e71f6

View file

@ -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();