stats loading
This commit is contained in:
parent
f9afa2501d
commit
e4b6b9b86a
7 changed files with 30 additions and 20 deletions
|
@ -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 [];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue