mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-02-10 05:34:55 +00:00
7e59ece789
After those core changes we need additional translations https://github.com/discourse/discourse/pull/23070
9 lines
232 B
Ruby
9 lines
232 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:solved_web_hook, from: :web_hook) do
|
|
after_build do |web_hook|
|
|
web_hook.web_hook_event_types =
|
|
WebHookEventType.where(name: %w[accepted_solution unaccepted_solution])
|
|
end
|
|
end
|