From 576684e36472b00420115c5a60059b212d3d9e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Fri, 29 Dec 2023 16:37:20 -0500 Subject: [PATCH] refactor(server/utils): make paths and imports more concise and correct --- server/api/auth/register.post.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/auth/register.post.ts b/server/api/auth/register.post.ts index 9a446c2..ab7b00a 100644 --- a/server/api/auth/register.post.ts +++ b/server/api/auth/register.post.ts @@ -3,7 +3,7 @@ import crypto from "crypto"; import { usernameRegex } from "@server/constants"; import { User } from "@models/user"; import mongoose from "mongoose"; -import captcha from "@server/middlewareButNotReally/captcha"; +import { captcha } from "@server/middlewareButNotReally"; export default eventHandler(async (event) => { const body = await readBody(event);