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

bug(Clock::SubscriptionsToBeTerminatedJob) - Make sure we only send the webhook once per subscription #2730

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

nudded
Copy link
Contributor

@nudded nudded commented Oct 23, 2024

Description

The left join in this query causes the same subscription to be returned multiple times. Adding the distinct makes sure we're dealing with a list of unique subscriptions.

The reason we can have multiple already existing webhooks is that organizations can have multiple webhook endpoints.

@nudded nudded merged commit 2b7e9d5 into main Oct 23, 2024
6 checks passed
@nudded nudded deleted the fix-SubscriptionsToBeTerminatedJob branch October 23, 2024 08:50
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