mirror of
https://github.com/bitwarden/server
synced 2026-02-10 13:40:10 +00:00
fix history params deserialization
it doesn't seem to be possible to deserialize internally tagged enums that don't all have data.
This commit is contained in:
@@ -19,7 +19,6 @@ pub struct KeyHistoryRequest {
|
||||
/// The parameters that dictate how much of the history proof to return to the consumer
|
||||
/// (either a complete history, or some limited form).
|
||||
#[derive(Copy, Clone, Serialize, Deserialize, Debug)]
|
||||
#[serde(tag = "type")]
|
||||
pub enum HistoryParams {
|
||||
/// Returns a complete history for a label
|
||||
Complete,
|
||||
|
||||
Reference in New Issue
Block a user