Fixed ability to query tasks collection using task ID. Fixes #68.
This commit is contained in:
1 parent
7c8036d8f3
commit
6f595b6fc5
2 files changed
+27
No files matched your search
@@ -348,6 +348,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