Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Droplets list count #37

Closed
denysovvl opened this issue Aug 10, 2022 · 1 comment
Closed

Droplets list count #37

denysovvl opened this issue Aug 10, 2022 · 1 comment

Comments

@denysovvl
Copy link

Hi there.

Is there any way to change "per_page" parameter for droplets list?
As I understand method getAll() doesn't allow this

public function getAll(?string $tag = null)
    {
        $droplets = $this->get('droplets', null === $tag ? [] : ['tag_name' => $tag]);

        return \array_map(function ($droplet) {
            return new DropletEntity($droplet);
        }, $droplets->droplets);
    }

DO docs says that "per_page" default value is 20, but I have more then 20 droplets, so I can't get them all.

@denysovvl
Copy link
Author

Sorry, my mistake, this issue not for your package :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant