chore(backend): add roslynator and fix diagnostics

This commit is contained in:
sam 2024-12-08 15:17:18 +01:00
parent 649988db25
commit f8e6032449
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
20 changed files with 60 additions and 38 deletions

View file

@ -63,7 +63,10 @@ public static partial class ValidationUtils
string.Equals(u, username, StringComparison.InvariantCultureIgnoreCase)
)
)
{
return ValidationError.GenericValidationError("Username is not allowed", username);
}
return null;
}
@ -89,7 +92,10 @@ public static partial class ValidationUtils
string.Equals(u, memberName, StringComparison.InvariantCultureIgnoreCase)
)
)
{
return ValidationError.GenericValidationError("Name is not allowed", memberName);
}
return null;
}