cheminfo / rest-on-couch

Interface to couchDB with user rights management
https://github.com/cheminfo/rest-on-couch/blob/main/API.md
MIT License
13 stars 2 forks source link

fix: handle $id value of undefined when creating entry #367

Closed stropitek closed 2 years ago

stropitek commented 2 years ago

fix: check $id is defined in getEntryById

codecov[bot] commented 2 years ago

Codecov Report

Merging #367 (fe8d9e3) into main (9ff1f0e) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #367   +/-   ##
=======================================
  Coverage   91.75%   91.76%           
=======================================
  Files          61       61           
  Lines        6922     6930    +8     
  Branches      834      835    +1     
=======================================
+ Hits         6351     6359    +8     
  Misses        569      569           
  Partials        2        2           
Impacted Files Coverage Δ
src/couch/entry.js 90.88% <100.00%> (+0.16%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9ff1f0e...fe8d9e3. Read the comment docs.