mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 14:13:38 +08:00
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
Block a user