Fix foreign key usage
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Madis Mägi 2023-08-02 01:22:38 +03:00
parent d3ce95f7ba
commit d3a4ddd314

View File

@ -49,7 +49,7 @@ def get_group_cards():
print(keys) print(keys)
flt = { flt = {
"token.uid_hash": {"$exists": True}, "token.uid_hash": {"$exists": True},
"inventory.owner.foreign_id": {"$in": keys} "inventory.owner.username": {"$in": keys}
} }
prj = { prj = {
"inventory.owner": True, "inventory.owner": True,