Skip to content

Commit 3cd8cda

Browse files
backend: libs: radcam_manager: src: web: routes: cockpit: Add field to the joystick action
1 parent 8043b88 commit 3cd8cda

File tree

1 file changed

+3
-3
lines changed
  • backend/libs/radcam_manager/src/web/routes/v1

1 file changed

+3
-3
lines changed

backend/libs/radcam_manager/src/web/routes/v1/cockpit.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ pub struct CockpitAction {
4343
pub name: String,
4444
#[serde(flatten)]
4545
pub action_type: CockpitActionType,
46-
// /// Version of this Action
47-
// pub version: String,
46+
/// Version of this Action
47+
pub version: String,
4848
}
4949

5050
#[derive(Debug, Serialize, Clone)]
@@ -187,7 +187,7 @@ fn actions(cameras: &Cameras) -> Vec<CockpitAction> {
187187
})
188188
.to_string(),
189189
}),
190-
// version: env!("CARGO_PKG_VERSION").to_string(),
190+
version: env!("CARGO_PKG_VERSION").to_string(),
191191
}]
192192
})
193193
.collect()

0 commit comments

Comments
 (0)