mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +01:00
Remove needless await
This commit is contained in:
parent
6f75235c55
commit
6142dd0043
@ -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`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user