forked from mirror/misskey
chore(backend): log chart update
This commit is contained in:
parent
514a65e453
commit
4f264695d5
@ -424,6 +424,7 @@ export default abstract class Chart<T extends Schema> {
|
||||
// これを回避するための実装は複雑になりそうなため、一旦保留。
|
||||
|
||||
const update = async (logHour: RawRecord<T>, logDay: RawRecord<T>): Promise<void> => {
|
||||
console.log(logHour, logDay);
|
||||
const finalDiffs = {} as Record<string, number | string[]>;
|
||||
|
||||
for (const diff of this.buffer.filter(q => q.group == null || (q.group === logHour.group)).map(q => q.diff)) {
|
||||
|
Loading…
Reference in New Issue
Block a user