Add error handling and update parameter in RPC request
This commit is contained in:
parent
e7516083be
commit
edf6677256
2 changed files with 25 additions and 17 deletions
|
@ -494,7 +494,7 @@
|
|||
{
|
||||
return (bool)$this->sendRequest(
|
||||
new RpcRequest(StandardMethods::SETTINGS_SET_DISPLAY_NAME->value, Utilities::randomCrc32(), [
|
||||
'display_name' => $displayName
|
||||
'name' => $displayName
|
||||
])
|
||||
)->getResponse()->getResult();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue