1
0
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:
Matt Gibson
2026-01-21 13:01:23 -08:00
parent 7cb947320b
commit 68e0bfe248

View File

@@ -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,