Skip seser on the pass field
Skip deser the pass field for camera's that try to sent it in the user list
This commit is contained in:
1 parent
a30f403dc4
commit
7a66473ab9
1 file changed
+1
-1
@@ -1587,7 +1587,7 @@ pub struct User {
|
||||
#[serde(rename = "userName")]
|
||||
pub user_name: String,
|
||||
/// The password seems to only be included when creating or modifying a user
|
||||
#[serde(rename = "password", skip_serializing_if = "Option::is_none")]
|
||||
#[serde(rename = "password", skip_serializing_if = "Option::is_none", skip_deserializing)]
|
||||
pub password: Option<String>,
|
||||
/// The user_id does not seem to have a purpose. It is not included when creating a user.
|
||||
#[serde(rename = "userId", skip_serializing_if = "Option::is_none")]
|
||||
|
||||
Reference in new issue
Block a user