mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 22:45:44 +00:00
removed TODO from get_owned_ids [TESTED]
This commit is contained in:
parent
c1dd754722
commit
3bba5d4d60
@ -246,7 +246,7 @@ def _remove_text_score(asset):
|
||||
|
||||
|
||||
@register_query(LocalMongoDBConnection)
|
||||
def get_owned_ids(connection, owner: str): # TODO To make a test
|
||||
def get_owned_ids(connection, owner: str):
|
||||
space = connection.space("keys")
|
||||
_keys = space.select(owner, index="keys_search", limit=1)
|
||||
if len(_keys.data) == 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user