mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-08-18 22:37:15 +02:00
global: add null safety checks
This commit is contained in:
@@ -28,10 +28,10 @@ namespace Streetwriters.Identity.Models
|
||||
[Required]
|
||||
[Display(Name = "Authenticator type")]
|
||||
[BindProperty(Name = "type")]
|
||||
public string Type { get; set; }
|
||||
public required string Type { get; set; }
|
||||
|
||||
[Display(Name = "Phone number")]
|
||||
[BindProperty(Name = "phoneNumber")]
|
||||
public string PhoneNumber { get; set; }
|
||||
public string? PhoneNumber { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user