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 {