Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix money velocity for current month #3

Open
brenzi opened this issue Sep 29, 2024 · 1 comment
Open

fix money velocity for current month #3

brenzi opened this issue Sep 29, 2024 · 1 comment
Assignees

Comments

@brenzi
Copy link
Member

brenzi commented Sep 29, 2024

accounting-backend/data.js

Lines 552 to 562 in 084809d

} else {
console.error("not implemented yet for current month");
accountingData = []
// accountingData = await getAccountingData(
// api,
// account,
// cid,
// year,
// i
// );
}

account is undefined here, so I commented it. I guess we need to iterate through all known users?

@pifragile
Copy link
Contributor

haha oups yeah, you're right, that code makes absolutely no sense 😅 only tested it for Nyota which uses useTotalVolume

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants