src/api2/access/user.rs: remove useless description

The description is not used at all if we refer to a type.
This commit is contained in:
Dietmar Maurer 2020-05-20 11:27:58 +02:00
parent 49ff10921c
commit 0fafac2492
1 changed files with 1 additions and 4 deletions

View File

@ -21,10 +21,7 @@ pub const PBS_PASSWORD_SCHEMA: Schema = StringSchema::new("User Password.")
returns: { returns: {
description: "List users (with config digest).", description: "List users (with config digest).",
type: Array, type: Array,
items: { items: { type: user::User },
type: user::User,
description: "User configuration (without password).",
},
}, },
access: { access: {
permission: &Permission::Privilege(&["access", "users"], PRIV_SYS_AUDIT, false), permission: &Permission::Privilege(&["access", "users"], PRIV_SYS_AUDIT, false),