Fix various small issues; blueprints working

This commit is contained in:
Owen
2025-12-17 22:08:41 -05:00
committed by Owen Schwartz
parent c2e06725a8
commit 8ff588407c
3 changed files with 14 additions and 7 deletions

View File

@@ -483,6 +483,10 @@ export async function handleMessagingForUpdatedSiteResource(
site: { siteId: number; orgId: string },
trx: Transaction
) {
logger.debug("handleMessagingForUpdatedSiteResource: existingSiteResource is: ", existingSiteResource);
logger.debug("handleMessagingForUpdatedSiteResource: updatedSiteResource is: ", updatedSiteResource);
const { mergedAllClients } =
await rebuildClientAssociationsFromSiteResource(
existingSiteResource || updatedSiteResource, // we want to rebuild based on the existing resource then we will apply the change to the destination below