Skip to content

Commit

Permalink
Merge pull request #7 from Vitexus/DateTimeAsString
Browse files Browse the repository at this point in the history
Allow use of DateTime objects in Projects request
  • Loading branch information
NikoGrano authored Aug 5, 2021
2 parents 2f356b8 + d57f4b5 commit 5f5cb5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Api/ProjectApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,14 +379,14 @@ public function apiProjectsGetRequest($customer = null, $customers = null, $visi
$start = ObjectSerializer::serializeCollection($start, '', true);
}
if (null !== $start) {
$queryParams['start'] = $start;
$queryParams['start'] = ObjectSerializer::toString($start);
}
// query params
if (\is_array($end)) {
$end = ObjectSerializer::serializeCollection($end, '', true);
}
if (null !== $end) {
$queryParams['end'] = $end;
$queryParams['end'] = ObjectSerializer::toString($end);
}
// query params
if (\is_array($ignoreDates)) {
Expand Down

0 comments on commit 5f5cb5c

Please sign in to comment.