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: Do not sync teams if unsupported #13

Merged
merged 6 commits into from
Mar 14, 2024
Merged

fix: Do not sync teams if unsupported #13

merged 6 commits into from
Mar 14, 2024

Conversation

martinalbert
Copy link
Contributor

This PR adds new check if used account is supporting teams and sync the teams only in case it does.

There are no other endpoints that are dependent on abilities in synchronization phase, so I didn't add any check for schedules. Based on endpoint for listing abilities and documentation for different endpoints like listing teams or listing schedules we can see the relevant ones based on description of error response from 402.

@martinalbert martinalbert requested review from jirwin and ggreer March 14, 2024 18:32
@ggreer ggreer merged commit f7e893d into main Mar 14, 2024
2 checks passed
@ggreer ggreer deleted the fix/update-filtering branch March 14, 2024 22:47
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