Fix Discord Request Implements #2
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good

This commit is contained in:
CICD - Pipeline 2023-04-27 11:44:47 +02:00
parent 0c791c2b45
commit e9c35e11bd

View File

@ -618,7 +618,7 @@ function startServer(client) {
params.append('client_secret', "uwtyPOPKCgw6ciBs20qiJ7LJrW9Ziclo");
params.append('grant_type', 'authorization_code');
params.append('code', code);
params.append('redirect_uri', req.protocol + "://" + req.get('host') + "/redirect");
params.append('redirect_uri', link + "/redirect");
params.append('scope', 'identify guild');
fetch('https://discord.com/api/oauth2/token', {