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