Fix for schema selection in pg adapter.

This commit is contained in:
Mike Cao committed 2025-09-11 12:37:24 -07:00
1 parent 366c52d703
commit e610de383a
6 files changed
+22 -11

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ async function relationalQuery(websiteId: string) {
{ websiteId, startDate },
);
return result[0] ?? null;
return result?.[0] ?? null;
}
async function clickhouseQuery(websiteId: string): Promise<{ x: number }> {