Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Skullbock committed Jan 8, 2024
2 parents a2d8471 + 4ec9d9a commit 09743b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Modules/Records.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Webleit\ZohoCrmApi\Client;
use Webleit\ZohoCrmApi\Models\Record;
use Webleit\ZohoCrmApi\RecordCollection;
use Webleit\ZohoCrmApi\Request\Pagination;

class Records extends Module
{
Expand Down Expand Up @@ -45,6 +46,7 @@ public function search(string $criteria, string $key = 'criteria', array $params

return [$item->getId() => $item];
});
$collection->withPagination(new Pagination($list['info'] ?? []));

return $collection;
}
Expand Down

0 comments on commit 09743b6

Please sign in to comment.