diff --git a/src/api2/access/user.rs b/src/api2/access/user.rs index 2d7f3cec..c0daf3ce 100644 --- a/src/api2/access/user.rs +++ b/src/api2/access/user.rs @@ -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,