mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 06:48:12 +09:00
fix(server): チャートのcleanでエラーが出る可能性がある問題を修正
This commit is contained in:
parent
30a153e6ee
commit
94365e97e9
@ -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 New Issue
Block a user