Fixed ability to query tasks collection using task ID. Fixes #68.
This commit is contained in:
1 parent
4ad8aa5a1b
commit
305558f186
2 files changed
+27
No files matched your search
@@ -343,6 +343,7 @@ listener = (request, response) ->
|
||||
else
|
||||
q = {}
|
||||
q = query.expand(q, aliases) if collectionName is 'devices'
|
||||
q = query.substituteObjectId(q) if collectionName is 'tasks'
|
||||
|
||||
if urlParts.query.projection?
|
||||
projection = {}
|
||||
|
||||
Reference in new issue
Block a user