Skip to content

Commit

Permalink
[Bug] Fix the empty request param by converting to object and array L…
Browse files Browse the repository at this point in the history
…RN-44748
  • Loading branch information
sreenivasa-murty-lrn committed Sep 11, 2024
1 parent 14f4a44 commit 1356f1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Request/Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ private function setServiceOptions()
public function validate(string $service, string $secret, $securityPacket, $requestPacket): array
{
if (is_string($requestPacket)) {
$requestPacket = json_decode($requestPacket, true);
$requestPacketObject = json_decode($requestPacket);
$requestPacket = (array)$requestPacketObject;
$this->requestPassedAsString = true;
}

Expand Down

0 comments on commit 1356f1f

Please sign in to comment.