Its in the transaction so we wait

This commit is contained in:
Owen
2026-04-28 22:22:06 -07:00
parent a44100c2bd
commit 1d0a92c83e

View File

@@ -87,15 +87,10 @@ export async function deleteSite(
) )
); );
for (const siteResource of updatedSiteResources) { for (const siteResource of updatedSiteResources) {
rebuildClientAssociationsFromSiteResource( await rebuildClientAssociationsFromSiteResource(
siteResource, siteResource,
trx trx
).catch((error) => { );
logger.error(
"Failed to rebuild client associations from site resource:",
error
);
});
} }
// get the newt on the site by querying the newt table for siteId // get the newt on the site by querying the newt table for siteId