added delete user endpoint

This commit is contained in:
daniel31x13
2023-10-23 15:24:22 -04:00
parent 4252b79586
commit 97d8c35d2a
5 changed files with 129 additions and 3 deletions
@@ -1,6 +1,6 @@
import { prisma } from "@/lib/api/db";
export default async function getUser(
export default async function getPublicUserById(
targetId: number | string,
isId: boolean,
requestingUsername?: string