Skip to content

Commit

Permalink
await cache invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamidev committed Jan 10, 2025
1 parent 67f1086 commit dfcaea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desci-server/src/scripts/fixPublish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit dfcaea2

Please sign in to comment.