From 3ed76718a887f3171e20c13133b81499dfd3378c Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 10 Jan 2020 16:04:25 +0900 Subject: [PATCH] Remove needless await --- src/services/chart/core.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/chart/core.ts b/src/services/chart/core.ts index e09642d356..34848093bb 100644 --- a/src/services/chart/core.ts +++ b/src/services/chart/core.ts @@ -272,13 +272,13 @@ export default abstract class Chart> { latest as Record); // 空ログデータを作成 - 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`); }