Skip to content

A platform for community discussion. Free, open, simple.

FIX: bulk append/replace tags was not working

Arpit Jalan3a86a2588c74
diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb
index db5ab9ae356..c9e551ebbfd 100644
--- a/app/controllers/topics_controller.rb
+++ b/app/controllers/topics_controller.rb
@@ -670,7 +670,7 @@ class TopicsController < ApplicationController
operation = params
.require(:operation)
- .permit(:type, :group, :category_id, :notification_level_id, :tags)
+ .permit(:type, :group, :category_id, :notification_level_id, tags: [])
.to_h.symbolize_keys
raise ActionController::ParameterMissing.new(:operation_type) if operation[:type].blank?