style: fix dep ordering and restore redis null guard
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -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}`);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user