OpenMF icon indicating copy to clipboard operation
OpenMF copied to clipboard

[Backend] Fixed cases list and count routes to show info from 'data' folder.

Open amlannandy opened this issue 3 years ago • 0 comments

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

1 2

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

amlannandy avatar Mar 10 '21 04:03 amlannandy