From 2ef6cc3aab3c9791028e9952c4192746f9cd1ec1 Mon Sep 17 00:00:00 2001 From: niksis02 Date: Fri, 13 Mar 2026 16:23:17 +0400 Subject: [PATCH] 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. --- cmd/versitygw/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/versitygw/admin.go b/cmd/versitygw/admin.go index 8d514d8a..69b178f5 100644 --- a/cmd/versitygw/admin.go +++ b/cmd/versitygw/admin.go @@ -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{}