0
0
Fork 0

reduce logs

This commit is contained in:
Xeltica 2021-01-28 03:22:32 +09:00
parent 11580eec42
commit 2e253f52bc
3 changed files with 1 additions and 3 deletions

View file

@ -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', {});

View file

@ -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')

View file

@ -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