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

Don't return undefined for counts #193

Open
1 of 3 tasks
kronosapiens opened this issue Jul 16, 2024 · 1 comment
Open
1 of 3 tasks

Don't return undefined for counts #193

kronosapiens opened this issue Jul 16, 2024 · 1 comment
Labels
maintenance Improving existing functionality

Comments

@kronosapiens
Copy link
Member

kronosapiens commented Jul 16, 2024

Currently some database queries can return undefined instead of a number, and have to be handled by the caller. The function itself should return 0 in these cases and spare the callers.

  • Chores
  • Hearts
  • Things
@kronosapiens kronosapiens added the maintenance Improving existing functionality label Jul 16, 2024
@kronosapiens
Copy link
Member Author

kronosapiens commented Jul 21, 2024

Done for Chores with f8aa8d1

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

No branches or pull requests

1 participant