Fix Discord Request Implements #2
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good
This commit is contained in:
parent
0c791c2b45
commit
e9c35e11bd
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user