mirror of
https://github.com/bitwarden/server
synced 2026-01-03 17:14:00 +00:00
Changed all C# control flow block statements to include space between keyword and open paren
This commit is contained in:
@@ -17,9 +17,9 @@ namespace Bit.Admin.Models
|
||||
|
||||
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
|
||||
{
|
||||
if(Id != null)
|
||||
if (Id != null)
|
||||
{
|
||||
if(Id.Length != 36 || (Id[0] != 'o' && Id[0] != 'u') ||
|
||||
if (Id.Length != 36 || (Id[0] != 'o' && Id[0] != 'u') ||
|
||||
!Guid.TryParse(Id.Substring(1, 32), out var guid))
|
||||
{
|
||||
yield return new ValidationResult("Customer Id is not a valid format.");
|
||||
|
||||
Reference in New Issue
Block a user