fix return types

This commit is contained in:
Nour Alharithi
2024-12-03 14:46:18 -08:00
parent 669d4a48fd
commit bae6bfef80
2 changed files with 7 additions and 2 deletions

View File

@@ -305,7 +305,7 @@ const main = async (): Promise<void> => {
const fetchFromRedis = async (
key: string,
selectionCriteria: (responses: any) => any
): Promise<JSON> => {
): Promise<any> => {
const redisResponses = await Promise.all(
redisClients.map((client) => client.getRaw(key))
);