mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 13:17:29 +08:00
7 lines
208 B
Ruby
Vendored
7 lines
208 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
Fabricator(:assign_web_hook, from: :web_hook) do
|
|
after_build do |web_hook|
|
|
web_hook.web_hook_event_types = WebHookEventType.where(name: %w[assigned unassigned])
|
|
end
|
|
end
|