Ajout panel + récup infos depuis SQL + fix noms de fichiers

This commit is contained in:
Zachary Guénot
2023-05-10 01:53:55 +02:00
parent 172f811e91
commit de01c981f8
14 changed files with 162 additions and 58 deletions

View File

@@ -1,6 +1,6 @@
const axios = require('axios')
module.exports = async function (code, client_id, client_secret, redirect_uri) {
module.exports = async function (client_id, client_secret, code, redirect_uri) {
return await axios.post('https://id.twitch.tv/oauth2/token', {
code,
client_id,