diff --git a/lib/Api/ContactsApi.php b/lib/Api/ContactsApi.php index f1c9db2..7032be5 100644 --- a/lib/Api/ContactsApi.php +++ b/lib/Api/ContactsApi.php @@ -4107,6 +4107,7 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, if ($returnType === '\SplFileObject') { $content = $responseBody; //stream goes to serializer } else { + $responseBody->rewind(); $content = $responseBody->getContents(); if ($returnType !== 'string') { $content = json_decode($content);