1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-24 11:38:28 +09:00

Remove needless await

This commit is contained in:
syuilo 2020-01-10 16:04:25 +09:00
parent 45aae00ad5
commit 3ed76718a8

View File

@ -272,13 +272,13 @@ export default abstract class Chart<T extends Record<string, any>> {
latest as Record<string, any>);
// 空ログデータを作成
data = await this.getNewLog(obj);
data = this.getNewLog(obj);
} else {
// ログが存在しなかったら
// (Misskeyインスタンスを建てて初めてのチャート更新時)
// 初期ログデータを作成
data = await this.getNewLog(null);
data = this.getNewLog(null);
logger.info(`${this.name}: Initial commit created`);
}