1
0
Fork 0

Cast watch_category array to integer

Dieser Commit ist enthalten in:
Angus McLeod 2020-07-20 13:51:11 +10:00
Ursprung 36c0281b2f
Commit 382ee50f13

Datei anzeigen

@ -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']