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{}