style: fix dep ordering and restore redis null guard

This commit is contained in:
Thomas Camlong committed 2026-06-25 13:02:39 +02:00
1 parent e7037ddfe9
commit 92920db07d
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -157,7 +157,9 @@ export const removeQueryCacheAsync = async (userId: string, boardId: string) =>
};
export const invalidateIntegrationCacheAsync = async (integrationId: string): Promise<void> => {
await getSetClient.del(`session-store:${integrationId}`);
const client = getSetClient as typeof getSetClient | null;
if (!client) return;
await client.del(`session-store:${integrationId}`);
};
/**