[server][core] move GetSharedResources to users package

This commit is contained in:
Abhishek Shroff
2024-10-21 23:29:47 +05:30
parent 25f83eff01
commit e481caa4ff
7 changed files with 126 additions and 103 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func setupUserListCommand() *cobra.Command {
Use: "list",
Short: "List Users",
Run: func(cmd *cobra.Command, args []string) {
users, err := common.App().OpenUserManager(context.Background()).ListUsers()
users, err := common.App().OpenUserManager(context.Background()).AllUsers()
if err != nil {
logrus.Fatal(err)
}