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:
parent
5f2da6e4b7
commit
240b6e7463
@ -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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user