mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 20:56:54 +08:00
FIX: Support Ruby 3 keyword arguments
This commit is contained in:
@ -23,7 +23,7 @@ module SeedData
|
||||
topics(site_setting_names).each do |params|
|
||||
params.except!(:category, :after_create)
|
||||
params[:skip_changed] = skip_changed
|
||||
update_topic(params)
|
||||
update_topic(**params)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user