Refactored "changed*" methods to update

This commit is contained in:
Netkas 2023-06-23 00:30:38 -04:00
parent 42d331408c
commit 8f3be08f57
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
4 changed files with 12 additions and 12 deletions

View file

@ -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)