mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-27 11:12:55 +00:00
Its in the transaction so we wait
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user