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 destroy team membership when user is not the active on-call #914

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

twix14
Copy link

@twix14 twix14 commented Jul 24, 2024

Fixes #292

If a user was not active in the on-call rotation it wouldn't be temporarily dissociated from the associated EPs, because the on-call list call never returned non-active users.

Getting the EPs where the user is active from now to 90 days (On-call shifts are limited to 90 days in the future) in the future fixes the issue.

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.

pagerduty_team_membership can not be deleted when user is in use in pagerduty_schedule
1 participant