Export for typecheck
This commit is contained in:
1 parent
0b2724124a
commit
dc0a6eaa32
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user