FIX: Address ArgumentError to support Ruby 3 keyword arguments
This commit is contained in:
parent
b83868bfb0
commit
eed3773b97
|
@ -13,7 +13,7 @@ module SeedData
|
|||
def create(site_setting_names: nil, include_welcome_topics: true)
|
||||
I18n.with_locale(@locale) do
|
||||
topics(site_setting_names, include_welcome_topics).each do |params|
|
||||
create_topic(params)
|
||||
create_topic(**params)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue