mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 22:45:44 +00:00
fixed get_assets
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
b287fc1b7f
commit
e184945443
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user