From fad8994111ece019910a7c523b50b2ef0793a47b Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Mon, 24 Oct 2022 16:33:36 +0700 Subject: [PATCH] Change "userdata" param from object to general JSON --- sources/Commands/ACommandUserData.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Commands/ACommandUserData.uc b/sources/Commands/ACommandUserData.uc index 5e7ed99..8674d5f 100644 --- a/sources/Commands/ACommandUserData.uc +++ b/sources/Commands/ACommandUserData.uc @@ -37,7 +37,7 @@ protected function BuildData(CommandDataBuilder builder) builder.SubCommand(P("write")) .ParamText(P("groupName")) .ParamText(P("dataName")) - .ParamObject(P("newData")) + .ParamJSON(P("newData")) .Describe(P("Stores new user data {$TextEmphasis `newData`} for" @ "targeted user under group {$TextEmphasis `groupName`} and name" @ "{$TextEmphasis `dataName`}."));