From 00c36782ff78b01681c3089f72f5e9abbab444c5 Mon Sep 17 00:00:00 2001 From: Lucas Smith Date: Fri, 1 Mar 2024 22:59:52 +1100 Subject: [PATCH] fix: why didn't prettier catch this --- packages/trpc/server/auth-router/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/trpc/server/auth-router/router.ts b/packages/trpc/server/auth-router/router.ts index f42a9b6d3..16b370b3e 100644 --- a/packages/trpc/server/auth-router/router.ts +++ b/packages/trpc/server/auth-router/router.ts @@ -25,7 +25,7 @@ export const authRouter = router({ const { name, email, password, signature, url } = input; - if ((IS_BILLING_ENABLED()) && url && url.length < 6) { + if (IS_BILLING_ENABLED() && url && url.length < 6) { throw new AppError( AppErrorCode.PREMIUM_PROFILE_URL, 'Only subscribers can have a username shorter than 6 characters',