1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-28 13:15:12 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ namespace Bit.Api.Models
[EncryptedStringLength(1000)] [EncryptedStringLength(1000)]
public string FileName { get; set; } public string FileName { get; set; }
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)] [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
public long Size { get; set; } public long? Size { get; set; }
public string SizeName { get; set; } public string SizeName { get; set; }
} }
} }