From 5fbea633203e2dc08f1ef737e13394daddb4f131 Mon Sep 17 00:00:00 2001 From: netkas Date: Sat, 8 Mar 2025 00:56:37 -0500 Subject: [PATCH] Remove UUID validation from EncryptionGetChannels to simplify argument handling https://github.com/nosial/Socialbox-PHP/issues/24 --- .../EncryptionChannel/EncryptionGetChannels.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionGetChannels.php b/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionGetChannels.php index 93c6d9e..50493f5 100644 --- a/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionGetChannels.php +++ b/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionGetChannels.php @@ -27,10 +27,6 @@ { throw new MissingRpcArgumentException('channel_uuid'); } - elseif(!Validator::validateUuid($rpcRequest->getParameter('channel_uuid'))) - { - throw new InvalidRpcArgumentException('channel_uuid', 'The given channel uuid is not a valid UUID V4'); - } $page = 1; $limit = Configuration::getPoliciesConfiguration()->getEncryptionChannelsLimit();