mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-12 16:06:38 +00:00
Merge dev into fix/log-analytics-adjustments
This commit is contained in:
@@ -255,7 +255,9 @@ export default async function migration() {
|
||||
const siteDataQuery = await db.execute(sql`
|
||||
SELECT "orgId" FROM "sites" WHERE "siteId" = ${site.siteId}
|
||||
`);
|
||||
const siteData = siteDataQuery.rows[0] as { orgId: string } | undefined;
|
||||
const siteData = siteDataQuery.rows[0] as
|
||||
| { orgId: string }
|
||||
| undefined;
|
||||
if (!siteData) continue;
|
||||
|
||||
const subnets = site.remoteSubnets.split(",");
|
||||
|
||||
Reference in New Issue
Block a user