feat(chalice): removed integrations from projects response

This commit is contained in:
Taha Yassine Kraiem 2023-03-27 10:00:46 +01:00
parent 41127b9fd0
commit 8530f7c100
2 changed files with 2 additions and 0 deletions

View file

@ -54,6 +54,7 @@ def __create(tenant_id, name):
def get_projects(tenant_id, recording_state=False, gdpr=None, recorded=False, stack_integrations=False):
stack_integrations = False
with pg_client.PostgresClient() as cur:
extra_projection = ""
extra_join = ""

View file

@ -55,6 +55,7 @@ def __create(tenant_id, name):
def get_projects(tenant_id, recording_state=False, gdpr=None, recorded=False, stack_integrations=False, user_id=None):
stack_integrations = False
with pg_client.PostgresClient() as cur:
role_query = """INNER JOIN LATERAL (SELECT 1
FROM users