Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
couchdb: Fixes query for document existance
The originaly implementation did not properly take into account the promise returned from the maybe function querying the document. This resulted in a promise being compared to null which will false. Fixes the logic via a cast to boolean on the document result.
- Loading branch information