Skip to content

Commit

Permalink
fix perf reporting job
Browse files Browse the repository at this point in the history
  • Loading branch information
hooopo committed Nov 16, 2019
1 parent 0b245be commit 1360594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/topic_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def setup_topic_params
@guardian.ensure_can_create!(Topic, category) unless (@opts[:skip_validations] || @opts[:archetype] == Archetype.private_message)

if @opts[:category].present? && category.nil?
raise Discourse::InvalidParameters.new(:category)
#raise Discourse::InvalidParameters.new(:category)
end

topic_params[:category_id] = category.id if category.present?
Expand Down

0 comments on commit 1360594

Please sign in to comment.