Imported libraries, removed next-basics.

This commit is contained in:
Mike Cao 2025-02-05 13:30:28 -08:00
parent 31266cb1ac
commit 113022ed17
44 changed files with 361 additions and 180 deletions

View file

@ -1,8 +1,8 @@
import { z } from 'zod';
import { checkPassword, hashPassword } from 'lib/auth';
import { parseRequest } from 'lib/request';
import { json, badRequest } from 'lib/response';
import { getUser, updateUser } from 'queries/prisma/user';
import { checkPassword, hashPassword } from 'next-basics';
export async function POST(request: Request) {
const schema = z.object({