diff --git a/src/db/redis.ts b/src/db/redis.ts index 608a12c..e5d13c8 100644 --- a/src/db/redis.ts +++ b/src/db/redis.ts @@ -8,10 +8,7 @@ async function connectRedis(): Promise { url: process.env.REDIS_URL, }); await client.connect(); - - client.on("connect", () => { - console.log("Connected to redis"); - }); + console.log("Connected to redis"); client.on("error", (error) => { console.error("There was an error connecting to redis: " + error);