This commit is contained in:
2024-01-14 05:28:29 +01:00
parent f72f63a9aa
commit d516a92c36

View File

@@ -31,9 +31,9 @@ app.get('/authorize', (req, res) => {
} }
}); });
app.post('/refresh', (req, res) => { app.get('/refresh', (req, res) => {
const refresh_token = req.body.refresh_token; const refresh_token = req.query.refresh_token;
const callbackport = req.query.port; const callbackport = req.query.port;
if(callbackport != undefined && refresh_token != undefined){ if(callbackport != undefined && refresh_token != undefined){