We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a485e9 commit 8fe600eCopy full SHA for 8fe600e
backend/src/routes/charger/get_chargers.rs
@@ -47,6 +47,7 @@ pub struct GetChargerSchema {
47
port: i32,
48
valid: bool,
49
last_state_change: Option<i64>,
50
+ firmware_version: String,
51
}
52
53
/// Get all chargers that the current user has access to.
@@ -129,6 +130,7 @@ pub async fn get_chargers(
129
130
port: c.webinterface_port,
131
valid: allowed_user.valid,
132
last_state_change: c.last_state_change.map(|ts| ts.and_utc().timestamp()),
133
+ firmware_version: c.firmware_version,
134
135
})
136
.collect::<Vec<GetChargerSchema>>();
0 commit comments