mirror of
https://github.com/versity/versitygw.git
synced 2026-08-17 04:36:19 +00:00
fix: fix admin cli update user --project-id retrieval
The project id was misspelled(`projectID`) in the admin cli `update-user` command when retrieving the flag value. Now it's fixed to correct `project-id` to match the flag name.
This commit is contained in:
@@ -433,7 +433,7 @@ func updateUser(ctx *cli.Context) error {
|
||||
ctx.String("secret"),
|
||||
ctx.Int("user-id"),
|
||||
ctx.Int("group-id"),
|
||||
ctx.Int("projectID"),
|
||||
ctx.Int("project-id"),
|
||||
auth.Role(ctx.String("role"))
|
||||
|
||||
props := auth.MutableProps{}
|
||||
|
||||
Reference in New Issue
Block a user