forked from 0x2620/pandora
findFile positions
This commit is contained in:
parent
09464ba805
commit
d588987c12
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ Positions
|
||||||
qs = _order_query(qs, query['sort'])
|
qs = _order_query(qs, query['sort'])
|
||||||
|
|
||||||
response['data']['positions'] = {}
|
response['data']['positions'] = {}
|
||||||
ids = [j['itemId'] for j in qs.values('itemId')]
|
ids = [j['oshash'] for j in qs.values('oshash')]
|
||||||
response['data']['positions'] = utils.get_positions(ids, query['positions'])
|
response['data']['positions'] = utils.get_positions(ids, query['positions'])
|
||||||
|
|
||||||
elif 'keys' in query:
|
elif 'keys' in query:
|
||||||
|
|
Loading…
Reference in a new issue