fix: prisma update failing on multiple where clauses

This commit is contained in:
Bereket Engida
2024-10-14 21:19:24 +03:00
parent ef26279945
commit 675e774663
5 changed files with 59 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
import { authMiddleware } from "better-auth/next-js";
import { NextResponse } from "next/server";
import { auth } from "@/lib/auth";
export default authMiddleware({
customRedirect: async (session, request) => {