latest changes and fixes
This commit is contained in:
@ -26,7 +26,6 @@ const getHistoricalSessions = async({ callsign, userId, from, to }) => {
|
||||
},
|
||||
params,
|
||||
};
|
||||
|
||||
return await _requestHistoricalRecursive([], url, options);
|
||||
};
|
||||
|
||||
@ -71,9 +70,7 @@ async function getIvaoPilotsNow(all = false) {
|
||||
apiKey: process.env.IVAO_APIKEY,
|
||||
},
|
||||
};
|
||||
const redisUsers = await RedisClient.getPair('users');
|
||||
const pilots = await request(url, options);
|
||||
// console.log('redisUsers :>> ', redisUsers);
|
||||
|
||||
return all ? pilots : pilots.filter(d => d.callsign.startsWith('LTS'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user