mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Don't hold connections open in getTopUsers
This commit is contained in:
@@ -71,6 +71,10 @@ export async function getTopUsers(req: Request, res: Response) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: remove. This is broken for now
|
||||||
|
res.status(200).send();
|
||||||
|
return;
|
||||||
|
|
||||||
//setup which sort type to use
|
//setup which sort type to use
|
||||||
let sortBy = '';
|
let sortBy = '';
|
||||||
if (sortType == 0) {
|
if (sortType == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user