From 4174820d60ef9643a045437756c30c145302df1a Mon Sep 17 00:00:00 2001 From: paaton Date: Sat, 25 May 2024 14:40:35 +0200 Subject: [PATCH] BUG in VendorController --- src/ParticipantVendor/ParticipantVendorController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParticipantVendor/ParticipantVendorController.php b/src/ParticipantVendor/ParticipantVendorController.php index ac49b31b..9ff9e080 100755 --- a/src/ParticipantVendor/ParticipantVendorController.php +++ b/src/ParticipantVendor/ParticipantVendorController.php @@ -51,7 +51,7 @@ public function RetrieveParticipantByTieCode( $vendoredParticipant->medicaments = $participant->medicaments; } - $body = json_encode($participant); + $body = json_encode($vendoredParticipant); if ($body === false) { return $response->withStatus(500); }