mstorectl: replaced yaml tag to json

This commit is contained in:
2026-03-09 10:54:41 +02:00
parent 86ae312384
commit dda76dc0f1
11 changed files with 21 additions and 239 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ type CreateAccountParams struct {
NewPassword string
}
type CreateAccountResult struct {
AccountID string `yaml:"accountId"`
Grants map[string]string `yaml:"grantsIds,omitempty"`
AccountID string `json:"accountId"`
Grants map[string]string `json:"grantsIds,omitempty"`
}
func (util *AccountUtil) CreateAccount(cmd *cobra.Command, args []string) {