From 95f5bd123efdc9c5d345fae1b671c4d4639e92f8 Mon Sep 17 00:00:00 2001 From: Koen van der Veen Date: Mon, 24 Jun 2024 19:29:48 +0200 Subject: [PATCH] fix mongo get by id --- packages/syft/src/syft/service/output/output_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/src/syft/service/output/output_service.py b/packages/syft/src/syft/service/output/output_service.py index 30f04b50c42..4efe75ec618 100644 --- a/packages/syft/src/syft/service/output/output_service.py +++ b/packages/syft/src/syft/service/output/output_service.py @@ -324,7 +324,7 @@ def has_output_read_permissions( # Check if all output ActionObjects have permissions result_ids = output.output_id_list permissions = [ - ActionObjectREAD(uid=_id, credentials=user_verify_key) + ActionObjectREAD(uid=_id.id, credentials=user_verify_key) for _id in result_ids ] if action_service.store.has_permissions(permissions):