1
0
mirror of https://github.com/bitwarden/server synced 2025-12-21 10:43:44 +00:00

add missing string length checks

This commit is contained in:
Kyle Spearrin
2018-10-22 09:40:44 -04:00
parent 22033d075d
commit 84df4235c5
4 changed files with 13 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ namespace Bit.Core.Models.Api
public string Name { get; set; }
[Required]
public bool? AccessAll { get; set; }
[StringLength(300)]
public string ExternalId { get; set; }
public IEnumerable<SelectionReadOnlyRequestModel> Collections { get; set; }