api2/access/user: fix return type schema

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-10-29 15:20:10 +01:00
parent ea1853a17b
commit 906ef6c5bd
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ impl UserWithTokens {
returns: { returns: {
description: "List users (with config digest).", description: "List users (with config digest).",
type: Array, type: Array,
items: { type: user::User }, items: { type: UserWithTokens },
}, },
access: { access: {
permission: &Permission::Anybody, permission: &Permission::Anybody,