Skip to content
Snippets Groups Projects
Commit 12ca0f9a authored by syuilo's avatar syuilo
Browse files

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

Fix #8274
parent f9e49015
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment