diff --git a/lib/custom_wizard/action.rb b/lib/custom_wizard/action.rb index fe8462ed..ec54e110 100644 --- a/lib/custom_wizard/action.rb +++ b/lib/custom_wizard/action.rb @@ -149,9 +149,7 @@ class CustomWizard::Action user: user ).perform - unless watched_categories.is_a?(Array) - watched_categories = [watched_categories] - end + watched_categories = [*watched_categories].map(&:to_i) notification_level = action['notification_level']