Compare commits

...

3 commits

Author SHA1 Message Date
Acid Chicken
ef4977b6a9
chore(backend): log this 2024-05-31 18:52:03 +09:00
Acid Chicken
baba8222f4
ci(backend): enable ci 2024-05-31 18:39:39 +09:00
Acid Chicken
4f264695d5
chore(backend): log chart update 2024-05-31 18:37:05 +09:00
2 changed files with 1 additions and 3 deletions

View file

@ -2,9 +2,6 @@ name: Test (backend)
on: on:
push: push:
branches:
- master
- develop
paths: paths:
- packages/backend/** - packages/backend/**
# for permissions # for permissions

View file

@ -424,6 +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(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)) {