Add test for get bulk rating

This commit is contained in:
Ajay Ramachandran
2021-12-02 23:12:48 -05:00
parent dd2db4bbbf
commit 48ac8d1136
3 changed files with 39 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ async function get<T>(fetchFromDB: () => Promise<T>, key: string): Promise<T> {
const data = await fetchFromDB();
redis.setAsync(key, JSON.stringify(data));
return data;
}