Browse Source

Change "userdata" param from object to general JSON

develop
Anton Tarasenko 2 years ago
parent
commit
fad8994111
  1. 2
      sources/Commands/ACommandUserData.uc

2
sources/Commands/ACommandUserData.uc

@ -37,7 +37,7 @@ protected function BuildData(CommandDataBuilder builder)
builder.SubCommand(P("write")) builder.SubCommand(P("write"))
.ParamText(P("groupName")) .ParamText(P("groupName"))
.ParamText(P("dataName")) .ParamText(P("dataName"))
.ParamObject(P("newData")) .ParamJSON(P("newData"))
.Describe(P("Stores new user data {$TextEmphasis `newData`} for" .Describe(P("Stores new user data {$TextEmphasis `newData`} for"
@ "targeted user under group {$TextEmphasis `groupName`} and name" @ "targeted user under group {$TextEmphasis `groupName`} and name"
@ "{$TextEmphasis `dataName`}.")); @ "{$TextEmphasis `dataName`}."));

Loading…
Cancel
Save