From dfcaea2ed1ee84232aa98a98f17a168143c5c3b9 Mon Sep 17 00:00:00 2001 From: kadami <86646883+kadamidev@users.noreply.github.com> Date: Fri, 10 Jan 2025 13:56:10 +0000 Subject: [PATCH] await cache invalidation --- desci-server/src/scripts/fixPublish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desci-server/src/scripts/fixPublish.ts b/desci-server/src/scripts/fixPublish.ts index 39aa99d9..718883a5 100644 --- a/desci-server/src/scripts/fixPublish.ts +++ b/desci-server/src/scripts/fixPublish.ts @@ -116,7 +116,7 @@ async function fixByNodeUuids({ if (invalidateCache) { // Invalidate cache for the node once every version is repaired - invalidateByUuid({ nodeUuid }); + await invalidateByUuid({ nodeUuid }); } } catch (e) { cLogger.info({ error: e }, `[fixByNodeUuids] Failed`);