fix: why didn't prettier catch this

This commit is contained in:
Lucas Smith
2024-03-01 22:59:52 +11:00
committed by GitHub
parent 665ccd7628
commit 00c36782ff

View File

@ -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',