mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
Updated Types for Redis and Fixed Compile Errors
This commit is contained in:
parent
20055c3961
commit
e0be79f5fd
3 changed files with 13 additions and 2 deletions
|
@ -3,7 +3,7 @@ import Redis from 'ioredis';
|
|||
let redis;
|
||||
|
||||
if (!redis) {
|
||||
redis = new Redis(process.env.REDIS_URL);
|
||||
redis = new Redis(process.env.REDIS_URL!);
|
||||
|
||||
redis.on('error', (err) => {
|
||||
console.error('Redis Client Error:', err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue