Skip to content

Commit

Permalink
Merge pull request #205 from PEM-Humboldt/hotfix/1.7.1
Browse files Browse the repository at this point in the history
Hotfix/1.7.1
  • Loading branch information
erikasv committed Apr 8, 2021
2 parents c7c71f1 + 3e82c40 commit 3b892be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "biomodelos-api",
"version": "1.7.0",
"version": "1.7.1",
"description": "RESTful server API for Biomodels.",
"main": "index.js",
"author": "Valentina Grajales Olarte - https://github.com/valegrajales",
Expand Down
2 changes: 1 addition & 1 deletion src/api/species/specie.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function getSpeciesRecords(req, res) {
$project: {
reported: {
$cond: {
if: { $ne: ['$reportedDate', null] },
if: { $ifNull: ['$reportedDate', false] },
then: true,
else: false
}
Expand Down

0 comments on commit 3b892be

Please sign in to comment.