From 9bfcc1980db2fc25d6c21803f567b6a52a20d0c6 Mon Sep 17 00:00:00 2001 From: Artemy <109195690+stalcker2288969@users.noreply.github.com> Date: Mon, 30 Jun 2025 11:54:00 +0700 Subject: [PATCH] Update RegistrationRequest.cs --- Govor.Contracts/Requests/RegistrationRequest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Govor.Contracts/Requests/RegistrationRequest.cs b/Govor.Contracts/Requests/RegistrationRequest.cs index 9a85a0d..7189bc8 100644 --- a/Govor.Contracts/Requests/RegistrationRequest.cs +++ b/Govor.Contracts/Requests/RegistrationRequest.cs @@ -8,11 +8,11 @@ public record RegistrationRequest [Required] [StringLength(UserValidator.MAX_LENGHT_OF_NAME, MinimumLength = UserValidator.MIN_LENGHT_OF_NAME, - ErrorMessage = "Username must be between 4 and 50 characters.")] + ErrorMessage = "Username must be between 4 and 44 characters.")] public string Name { get; init; } [Required] [MinLength(8)] public string Password { get; init; } [MinLength(InvitationValidator.MIN_INVITATION_LENGTH)] public string InviteLink { get; init; } -} \ No newline at end of file +}