1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

Update File Size to allow null (#1839)

* Update File Size to allow null

* Remove unneeded nullable number
This commit is contained in:
Justin Baur
2022-02-03 13:23:43 -05:00
committed by GitHub
parent 5f2da6e4b7
commit 240b6e7463

View File

@ -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; }
}
}