client-api: Fix type of display_name field in update_device::Request

This commit is contained in:
Jonas Platte 2022-08-17 13:24:12 +02:00
parent 2ef9b2c3c6
commit ccb6babe9e
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C

View File

@ -28,7 +28,7 @@ pub mod v3 {
///
/// If this is `None`, the display name won't be changed.
#[serde(skip_serializing_if = "Option::is_none")]
pub display_name: Option<String>,
pub display_name: Option<&'a str>,
}
#[derive(Default)]