From 8f64684d077a474a54db792f68f5b0bc94e50a92 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 20 Jun 2024 01:47:39 -0400 Subject: [PATCH] fix json field name --- src/bin/rbw/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/rbw/commands.rs b/src/bin/rbw/commands.rs index de825af..47d5e55 100644 --- a/src/bin/rbw/commands.rs +++ b/src/bin/rbw/commands.rs @@ -736,7 +736,7 @@ enum DecryptedData { struct DecryptedField { name: Option, value: Option, - #[serde(serialize_with = "serialize_field_type")] + #[serde(serialize_with = "serialize_field_type", rename = "type")] ty: rbw::api::FieldType, }