scitran / core

RESTful API
https://scitran.github.io
MIT License
18 stars 18 forks source link

Fix missing projection in get_all #1046

Closed nagem closed 6 years ago

nagem commented 6 years ago

Fixes #1044

1038 Added a bug that removed the projection variable from a call to mongo's find(). It has been replaced.

Tests were added to check for sensitive fields in list endpoints. PHI work will supercede these tests so minimal effort was applied.

Breaking Changes

None

Review Checklist

codecov-io commented 6 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@14b7f28). Click here to learn what that means. The diff coverage is 100%.

@@           Coverage Diff            @@
##             master   #1046   +/-   ##
========================================
  Coverage          ?   90.7%           
========================================
  Files             ?      50           
  Lines             ?    6864           
  Branches          ?       0           
========================================
  Hits              ?    6226           
  Misses            ?     638           
  Partials          ?       0