stats loading

This commit is contained in:
Elijah McMorris 2024-02-18 04:19:28 -08:00
parent f9afa2501d
commit e4b6b9b86a
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
7 changed files with 30 additions and 20 deletions

View file

@ -9,8 +9,12 @@ export async function querydb() {
order by clicks desc
limit 50;
`);
// @ts-ignore
stats = stats[0];
return stats;
} catch (e) {
return;
return [];
}
}