OpenMF
OpenMF copied to clipboard
[Backend] Fixed cases list and count routes to show info from 'data' folder.
Description
Fixed the cases list and count routes to show info from the 'data' folder instead of db, similar to other case routes.
Fixes #153
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
How Has This Been Tested?
Try running case/list and case/count routes.
Test Configuration:
- Ubuntu
- Postman
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules