mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-06 11:39:42 -06:00
[server] Allow listing incremental users
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user