mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
fix: why didn't prettier catch this
This commit is contained in:
@ -25,7 +25,7 @@ export const authRouter = router({
|
|||||||
|
|
||||||
const { name, email, password, signature, url } = input;
|
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(
|
throw new AppError(
|
||||||
AppErrorCode.PREMIUM_PROFILE_URL,
|
AppErrorCode.PREMIUM_PROFILE_URL,
|
||||||
'Only subscribers can have a username shorter than 6 characters',
|
'Only subscribers can have a username shorter than 6 characters',
|
||||||
|
|||||||
Reference in New Issue
Block a user