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

View File

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