Fix issue where member last name became RFID card

When applying the JSON override fields the RFID card info was assigned
to the lastName field. this has been fixed.
This commit is contained in:
Sebastian H. Gabrielli 2023-12-26 21:02:06 +01:00
parent e7cbe25602
commit c61692cc32

View File

@ -40,7 +40,7 @@ pub struct Member {
pub balance: i32,
#[serde(rename = "imagePreference")]
pub image_preference: String,
#[serde(rename = "lastName")]
#[serde(rename = "rfidCards")]
pub rfid_cards: Vec<RfidCard>
}