mirror of
https://github.com/JuLi0n21/osu-progress-oauth-helper.git
synced 2026-04-19 16:00:06 +00:00
undefined not null ofc
This commit is contained in:
@@ -36,7 +36,7 @@ app.get('/refresh', (req, res) => {
|
|||||||
const refresh_token = req.body.refresh_token;
|
const refresh_token = req.body.refresh_token;
|
||||||
const callbackport = req.query.port;
|
const callbackport = req.query.port;
|
||||||
|
|
||||||
if(callbackport != null && refresh_token != null){
|
if(callbackport != undefined && refresh_token != undefined){
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const tokenEndpoint = 'https://osu.ppy.sh/oauth/token';
|
const tokenEndpoint = 'https://osu.ppy.sh/oauth/token';
|
||||||
|
|||||||
Reference in New Issue
Block a user