From 24196b6ddb947817b04598798b99e5229b30a34f Mon Sep 17 00:00:00 2001 From: Lightziro <56797637+Lightziro@users.noreply.github.com> Date: Sun, 24 Oct 2021 12:19:10 +0300 Subject: [PATCH] Fix ipo calendar type IPO calendar method accept type \DateTime, but Guzzle does not accept DateTime type, so please change type to string or give result format method in DateTime class --- lib/Api/DefaultApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Api/DefaultApi.php b/lib/Api/DefaultApi.php index e3c71fe..04e720f 100644 --- a/lib/Api/DefaultApi.php +++ b/lib/Api/DefaultApi.php @@ -11202,7 +11202,7 @@ public function investmentThemesRequest($theme) */ public function ipoCalendar($from, $to) { - list($response) = $this->ipoCalendarWithHttpInfo($from, $to); + list($response) = $this->ipoCalendarWithHttpInfo($from->format('Y-m-d'), $to->format('Y-m-d')); return $response; }