Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add missing auth

Tomas Valentadc9bcf68c95d
diff --git a/api-service/database/client.py b/api-service/database/client.py
index 388a1d72c..0d138feac 100644
--- a/api-service/database/client.py
+++ b/api-service/database/client.py
@@ -61,6 +61,8 @@ def create_client(
client.rest_url, headers=options.headers, schema=options.schema
)
+ client.postgrest.auth(token=supabase_key)
+
def from_(table_name: str) -> AsyncRequestBuilder:
return client.postgrest.from_(table_name)