forked from mirror/misskey
parent
f9e4901543
commit
12ca0f9a63
@ -454,6 +454,10 @@ export default abstract class Chart<T extends Schema> {
|
|||||||
columns[columnPrefix + name] = v;
|
columns[columnPrefix + name] = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Object.keys(columns).length === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const update = async (logHour: RawRecord<T>, logDay: RawRecord<T>): Promise<void> => {
|
const update = async (logHour: RawRecord<T>, logDay: RawRecord<T>): Promise<void> => {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
this.repositoryForHour.createQueryBuilder()
|
this.repositoryForHour.createQueryBuilder()
|
||||||
|
Loading…
Reference in New Issue
Block a user