mirror of
https://github.com/bitwarden/server
synced 2025-12-22 19:23:45 +00:00
Update File Size to allow null (#1839)
* Update File Size to allow null * Remove unneeded nullable number
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Bit.Api.Models
|
||||
[EncryptedStringLength(1000)]
|
||||
public string FileName { get; set; }
|
||||
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
|
||||
public long Size { get; set; }
|
||||
public long? Size { get; set; }
|
||||
public string SizeName { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user