1
0
forked from mirror/misskey

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:
push:
branches:
- master
- develop
paths:
- packages/backend/**
# 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> => {
console.log(this, 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)) {