mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
fix: some pages not working properly with new db
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import LiveStream from "@/components/app/Livestream/Livestream";
|
||||
import prisma from "@/lib/db";
|
||||
import prisma from '@hctv/db';
|
||||
|
||||
export default async function Page({ params }: { params: Promise<{ username: string }> }) {
|
||||
const { username } = await params;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { validateRequest } from "@/lib/auth";
|
||||
import prisma from "@/lib/db";
|
||||
import prisma from '@hctv/db';
|
||||
import { NextRequest } from "next/server";
|
||||
|
||||
export async function POST(request: NextRequest) {
|
||||
|
||||
Reference in New Issue
Block a user