reduce logs
This commit is contained in:
parent
11580eec42
commit
2e253f52bc
3 changed files with 1 additions and 3 deletions
|
@ -64,7 +64,6 @@ router.get('/', async ctx => {
|
|||
const isAvailable = user && await apiAvailable(user.host, user.token);
|
||||
const usersCount = await getUserCount();
|
||||
const ranking = await getRanking(10);
|
||||
console.log(ranking);
|
||||
|
||||
if (user && isAvailable) {
|
||||
const meta = await api<{ version: string }>(user?.host, 'meta', {});
|
||||
|
|
|
@ -28,7 +28,7 @@ export default (): void => {
|
|||
console.info(`${user.username}@${user.host} is deleted, so delete this user from the system`);
|
||||
await deleteUser(user.username, user.host);
|
||||
} else {
|
||||
console.error(e);
|
||||
console.error(`${e.name}: ${e.message}`);
|
||||
}
|
||||
} finally {
|
||||
if (user.alertMode === 'note')
|
||||
|
|
|
@ -23,7 +23,6 @@ mixin rankingTable()
|
|||
-
|
||||
let rank = 1;
|
||||
let lastRating = '';
|
||||
console.log(ranking);
|
||||
each rec in ranking
|
||||
- const rating = rec.rating.toFixed(2);
|
||||
tr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue