diff --git a/adapter/vercel/src/index.js b/adapter/vercel/src/index.js index 99199df4e..f455f4d5f 100644 --- a/adapter/vercel/src/index.js +++ b/adapter/vercel/src/index.js @@ -19,7 +19,7 @@ export default async (req, res) => { env.UPSTASH_REDIS_REST_URL ||= process.env.REDIS_URL; env.UPSTASH_REDIS_REST_TOKEN ||= process.env.REDIS_TOKEN; - env.DATABASE = new Redis.fromEnv(); + env.DATABASE = Redis.fromEnv(); const body = await req.text(); const cfReq = new Request(req.url, {