mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 01:53:08 +02:00
fix(server): チャートのcleanでエラーが出る可能性がある問題を修正
This commit is contained in:
parent
12ca0f9a63
commit
3e1de8203d
1 changed files with 4 additions and 0 deletions
|
@ -496,6 +496,10 @@ export default abstract class Chart<T extends Schema> {
|
|||
}
|
||||
}
|
||||
|
||||
if (Object.keys(columns).length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
await Promise.all([
|
||||
this.repositoryForHour.createQueryBuilder()
|
||||
.update()
|
||||
|
|
Loading…
Reference in a new issue