mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-30 16:43:37 +00:00
Updated Types and Fixed Imports
This commit is contained in:
parent
e0be79f5fd
commit
e9b6d28591
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import { redis } from '@/lib/redis';
|
||||
import redis from './lib/redis'
|
||||
|
||||
export default class CacheHandler {
|
||||
constructor(options) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import Redis from 'ioredis';
|
||||
|
||||
let redis;
|
||||
let redis: Redis | null = null;
|
||||
|
||||
if (!redis) {
|
||||
redis = new Redis(process.env.REDIS_URL!);
|
||||
|
|
Loading…
Reference in a new issue