summaryrefslogtreecommitdiff
path: root/src/services/chart/core.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-01-10 16:04:25 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-01-10 16:04:25 +0900
commit3ed76718a887f3171e20c13133b81499dfd3378c (patch)
treef3d60f957958dc99c88773efefd7c615f9c325a1 /src/services/chart/core.ts
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-3ed76718a887f3171e20c13133b81499dfd3378c.tar.gz
sharkey-3ed76718a887f3171e20c13133b81499dfd3378c.tar.bz2
sharkey-3ed76718a887f3171e20c13133b81499dfd3378c.zip
Remove needless await
Diffstat (limited to 'src/services/chart/core.ts')
-rw-r--r--src/services/chart/core.ts4
1 files 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<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`);
}