mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 07:44:46 +08:00
Don't schedule inactive webhooks
This commit is contained in:
parent
c6648111f3
commit
56847e46a6
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ module Activities
|
|||
|
||||
def perform(activity)
|
||||
webhooks =
|
||||
Webhook.where(
|
||||
Webhook.active.where(
|
||||
activity_filter_id:
|
||||
Activities::ActivityFilterMatchingService.new(activity).activity_filters.select(:id)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue