From dc0a6eaa32374213cc352216fc87a95642238397 Mon Sep 17 00:00:00 2001 From: zomars Date: Wed, 8 Feb 2023 10:55:57 -0700 Subject: [PATCH] Export for typecheck --- pages/api/users/_get.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,