Refactored "changed*" methods to update
This commit is contained in:
parent
42d331408c
commit
8f3be08f57
4 changed files with 12 additions and 12 deletions
|
@ -65,7 +65,7 @@
|
|||
case Methods::GET_CLIENT:
|
||||
self::getClient($input);
|
||||
break;
|
||||
case Methods::CHANGE_CLIENT_NAME:
|
||||
case Methods::UPDATE_CLIENT_NAME:
|
||||
self::changeClientName($input);
|
||||
break;
|
||||
|
||||
|
@ -212,7 +212,7 @@
|
|||
|
||||
try
|
||||
{
|
||||
self::$federation_lib->changeClientName(null, $uuid, $name);
|
||||
self::$federation_lib->updateClientName(null, $uuid, $name);
|
||||
print('OK' . PHP_EOL);
|
||||
}
|
||||
catch(ClientNotFoundException)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue