feat: completely remove redis
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
import { HandlerContext, Handlers } from "$fresh/server.ts";
|
||||
import { FreshContext, Handlers } from "$fresh/server.ts";
|
||||
import { searchMovie, searchTVShow } from "@lib/tmdb.ts";
|
||||
import * as cache from "@lib/cache/cache.ts";
|
||||
import { AccessDeniedError, BadRequestError } from "@lib/errors.ts";
|
||||
|
||||
const GET = async (
|
||||
req: Request,
|
||||
ctx: HandlerContext,
|
||||
ctx: FreshContext,
|
||||
) => {
|
||||
const session = ctx.state.session;
|
||||
if (!session) {
|
||||
|
Reference in New Issue
Block a user