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: list/search channel properly using cursor #457

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

StrongMonkey
Copy link
Contributor

Fix the channel list by using cursor to find the rest of the results, also use formatter to format code properly.

obot-platform/obot#1827

@StrongMonkey StrongMonkey requested a review from njhale February 21, 2025 21:30
} catch (e) {
console.log('Failed to create dataset:', e)
}
let allChannels = []
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@njhale a lot of formatting changes, but this is the change that i made so that it will follow the cursor and list the rest of the channels. I feel like it is being paginated on their api so we have to go through all the pages.

@StrongMonkey StrongMonkey merged commit c5f9ad8 into obot-platform:main Feb 21, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants