mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
smol fix
This commit is contained in:
parent
65316d8e3c
commit
52443e71f6
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue