1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-24 15:16:25 +09:00

fix(server): チャートのresyncでエラーが出る問題を修正

Fix #8274
This commit is contained in:
syuilo 2022-02-09 03:51:43 +09:00
parent f9e4901543
commit 12ca0f9a63

View File

@ -454,6 +454,10 @@ export default abstract class Chart<T extends Schema> {
columns[columnPrefix + name] = v;
}
if (Object.keys(columns).length === 0) {
return;
}
const update = async (logHour: RawRecord<T>, logDay: RawRecord<T>): Promise<void> => {
await Promise.all([
this.repositoryForHour.createQueryBuilder()