From 3c6cc75f13af73a9f3a0abaf102ac222c0a8d027 Mon Sep 17 00:00:00 2001 From: Giancarlo Romeo Date: Mon, 4 Nov 2024 15:20:16 +0100 Subject: [PATCH] fix query --- .../simcore_service_webserver/studies_dispatcher/_catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/server/src/simcore_service_webserver/studies_dispatcher/_catalog.py b/services/web/server/src/simcore_service_webserver/studies_dispatcher/_catalog.py index 2cc3eed3663..e9250b18a01 100644 --- a/services/web/server/src/simcore_service_webserver/studies_dispatcher/_catalog.py +++ b/services/web/server/src/simcore_service_webserver/studies_dispatcher/_catalog.py @@ -161,7 +161,7 @@ async def validate_requested_service( sa.select(services_consume_filetypes.c.is_guest_allowed) .where( (services_consume_filetypes.c.service_key == service_key) - & (services_consume_filetypes.c.is_guest_allowed is True) + & (services_consume_filetypes.c.is_guest_allowed == sa.true()) ) .limit(1) )