Skip to content

Commit

Permalink
fix: failed to add user
Browse files Browse the repository at this point in the history
Signed-off-by: MicroOps-cn <[email protected]>
  • Loading branch information
MicroOps-cn committed Feb 10, 2025
1 parent 9428b48 commit d4d9a82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/idas/cmd/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ var userAddCmd = &cobra.Command{
Use: "add",
Short: "create user",
Long: `create user.`,
PreRun: func(cmd *cobra.Command, args []string) {
initConfig()
},
Run: func(cmd *cobra.Command, args []string) {
logger := logs.GetDefaultLogger()
svc := service.New(cmd.Context())
Expand Down

0 comments on commit d4d9a82

Please sign in to comment.