[server] Allow listing incremental users

This commit is contained in:
Abhishek Shroff
2024-11-30 15:07:19 +05:30
parent 1636509c29
commit 4f124a7162
6 changed files with 65 additions and 43 deletions

View File

@@ -58,7 +58,7 @@ func setupUserListCommand() *cobra.Command {
Use: "list",
Short: "List Users",
Run: func(cmd *cobra.Command, args []string) {
users, err := user.CreateManager(context.Background()).AllUsers()
users, err := user.CreateManager(context.Background()).ListUsers(nil)
if err != nil {
logrus.Fatal(err)
}