Skip to content

Commit 0bd4531

Browse files
fix(dgw): rename param addrs to addresses (#1306)
Changelog: ignore
1 parent 9d689ce commit 0bd4531

File tree

1 file changed

+1
-0
lines changed
  • devolutions-gateway/src/api

1 file changed

+1
-0
lines changed

devolutions-gateway/src/api/net.rs

+1
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ pub async fn get_net_config(_token: crate::extract::NetScanToken) -> Result<Json
218218
#[derive(Debug, Clone, Serialize)]
219219
pub struct NetworkInterface {
220220
pub name: String,
221+
#[serde(rename = "addresses")]
221222
pub addrs: Vec<Addr>,
222223
#[serde(skip_serializing_if = "Option::is_none")]
223224
pub mac_addr: Option<String>,

0 commit comments

Comments
 (0)