CrossRef / cayenne

MOVED to https://gitlab.com/crossref/rest_api
https://gitlab.com/crossref/rest_api
MIT License
17 stars 9 forks source link

NPE in /members route #44

Open MikeYalter opened 6 years ago

MikeYalter commented 6 years ago

The line:
:deposits-articles (or (> (get-in coverage-doc [:coverage :all :journal-article :_count]) 0) false)}} in src/cayenne/data/coverage.clj is causing an NPE as the > sometimes is given a nil. I switched around the or and the > to get values to compare against for the time being in the staging instance; :deposits-articles (> (or (get-in coverage-doc [:coverage :all :journal-article :_count]) 0))}}