From 828b7c9b5c4a0a3d7d55abfd55e0657a8208c98c Mon Sep 17 00:00:00 2001 From: netkas Date: Fri, 7 Feb 2025 22:33:19 -0500 Subject: [PATCH] Renamed uuid to signature_uuid --- .../AddressBook/AddressBookTrustSignature.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Socialbox/Classes/StandardMethods/AddressBook/AddressBookTrustSignature.php b/src/Socialbox/Classes/StandardMethods/AddressBook/AddressBookTrustSignature.php index 673d5b0..174a823 100644 --- a/src/Socialbox/Classes/StandardMethods/AddressBook/AddressBookTrustSignature.php +++ b/src/Socialbox/Classes/StandardMethods/AddressBook/AddressBookTrustSignature.php @@ -39,21 +39,21 @@ throw new InvalidRpcArgumentException('peer', $e); } - if(!$rpcRequest->containsParameter('uuid')) + if(!$rpcRequest->containsParameter('signature_uuid')) { - throw new MissingRpcArgumentException('uuid'); + throw new MissingRpcArgumentException('signature_uuid'); } try { - $uuid = Uuid::fromString($rpcRequest->getParameter('uuid')); + $signatureUuid = Uuid::fromString($rpcRequest->getParameter('signature_uuid')); } catch(InvalidArgumentException $e) { - throw new InvalidRpcArgumentException('uuid', $e); + throw new InvalidRpcArgumentException('signature_uuid', $e); } - $signingKey = Socialbox::resolvePeerSignature($address, $uuid); + $signingKey = Socialbox::resolvePeerSignature($address, $signatureUuid); try {