getavalon / core

The safe post-production pipeline - https://getavalon.github.io/2.0
MIT License
213 stars 48 forks source link

Fix project query in tools #549

Closed iLLiCiTiT closed 4 years ago

iLLiCiTiT commented 4 years ago

Problem

For query project documents is used find method which returns iterable instead of single document. Issue cause by PR https://github.com/getavalon/core/pull/535.

Solution

For project document query is used find_one method.