fix(studio): uniformize readDatabase and projectDetails connString handling

This commit is contained in:
avallete committed 2025-04-28 16:38:17 +02:00
1 parent 93d8567695
commit 8726ac65e9
2 files changed
+9 -4

No files matched your search

@@ -42,6 +42,7 @@ export async function executeSql(
headersInit?: HeadersInit
): Promise<{ result: any }> {
if (!projectRef) throw new Error('projectRef is required')
if (!connectionString) throw new Error('Project connection string is required')
const sqlSize = new Blob([sql]).size
// [Joshen] I think the limit is around 1MB from testing, but its not exactly 1MB it seems