diff --git a/pages/api/users/_get.ts b/pages/api/users/_get.ts index 3ccfdb6ca0..da4f985931 100644 --- a/pages/api/users/_get.ts +++ b/pages/api/users/_get.ts @@ -29,7 +29,7 @@ import { schemaUsersReadPublic } from "~/lib/validations/user"; * 404: * description: No users were found */ -async function getHandler(req: NextApiRequest) { +export async function getHandler(req: NextApiRequest) { const { userId, prisma,