Fixed ability to query tasks collection using task ID. Fixes #68.

This commit is contained in:
Zaid Abdulla committed 2015-05-26 12:58:12 +03:00
1 parent 7c8036d8f3
commit 6f595b6fc5
2 files changed
+27

No files matched your search

+1
View File
@@ -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 = {}