Remove UUID validation from EncryptionGetChannels to simplify argument handling

https://github.com/nosial/Socialbox-PHP/issues/24
This commit is contained in:
netkas 2025-03-08 00:56:37 -05:00
parent fa9352d938
commit 5fbea63320

View file

@ -27,10 +27,6 @@
{ {
throw new MissingRpcArgumentException('channel_uuid'); 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; $page = 1;
$limit = Configuration::getPoliciesConfiguration()->getEncryptionChannelsLimit(); $limit = Configuration::getPoliciesConfiguration()->getEncryptionChannelsLimit();