From 906ef6c5bdce9616ce593745c56614613772d405 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 29 Oct 2020 15:20:10 +0100 Subject: [PATCH] api2/access/user: fix return type schema Signed-off-by: Wolfgang Bumiller --- src/api2/access/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,