From 919f75b8ee77fe56dd9d6462d9cfc2d20f8172d5 Mon Sep 17 00:00:00 2001 From: netkas Date: Wed, 12 Mar 2025 17:48:24 -0400 Subject: [PATCH] Refactor SocialClient to update parameter names for clarity by changing 'uuid' to 'signature_uuid' in SETTINGS_DELETE_SIGNATURE and SETTINGS_GET_SIGNATURE methods https://github.com/nosial/Socialbox-PHP/issues/53 --- src/Socialbox/SocialClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Socialbox/SocialClient.php b/src/Socialbox/SocialClient.php index c4b2ba0..0adeb54 100644 --- a/src/Socialbox/SocialClient.php +++ b/src/Socialbox/SocialClient.php @@ -1030,7 +1030,7 @@ { return $this->sendRequest( new RpcRequest(StandardMethods::SETTINGS_DELETE_SIGNATURE, parameters: [ - 'uuid' => $uuid + 'signature_uuid' => $uuid ]) )->getResponse()->getResult(); } @@ -1081,7 +1081,7 @@ { return new Signature($this->sendRequest( new RpcRequest(StandardMethods::SETTINGS_GET_SIGNATURE, parameters: [ - 'uuid' => $uuid + 'signature_uuid' => $uuid ]) )->getResponse()->getResult()); }