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

Implement pagination handling for Sendinblue requests #317

Merged
merged 2 commits into from
Feb 8, 2022

Conversation

luca-rath
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets -
Related issues/PRs -
License MIT

What's in this PR?

Implement pagination handling for Sendinblue requests

Why?

Until now, only the first 10 sendinblue lists and mail templates have been requested at the sendinblue api

}

$limit = 50;
$offset = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think you could use count($listObjects) instead of storing this in a separate variable. but dont have a strong opionion here 🙂

@niklasnatter niklasnatter merged commit 1d84466 into sulu:2.x Feb 8, 2022
@luca-rath luca-rath deleted the enhancement/sendinblue branch February 8, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants