fixed get_assets

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2022-04-12 15:01:50 +02:00
parent b287fc1b7f
commit e184945443
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A

View File

@ -87,7 +87,7 @@ def get_assets(conn, asset_ids):
return conn.run(
conn.collection('assets')
.find({'id': {'$in': asset_ids}},
projection={'_id': False}))
projection={'_id': False, 'id': False}))
@register_query(LocalMongoDBConnection)