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

Fix non-paginated lists #18

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Fix non-paginated lists #18

merged 1 commit into from
Jul 16, 2024

Conversation

alecsammon
Copy link
Contributor

@alecsammon alecsammon commented Jul 16, 2024

Not all lists (i.e. eventTypes) have pagination.

When using the SDK for these endpoints then the SDK fails with a nil pointer exception.

This is due to the SDK attempting to parse the non existent pagination.

We should do a nil check before reading the pagination.

@alecsammon alecsammon requested a review from a team as a code owner July 16, 2024 06:51
@alecsammon alecsammon force-pushed the fix_non_paginated_lists branch from 9971d59 to f6ea6db Compare July 16, 2024 06:52
@mikeymike mikeymike merged commit 892ae07 into main Jul 16, 2024
5 checks passed
@mikeymike mikeymike deleted the fix_non_paginated_lists branch July 16, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants