Cast watch_category array to integer
Dieser Commit ist enthalten in:
Ursprung
36c0281b2f
Commit
382ee50f13
1 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
|
@ -149,9 +149,7 @@ class CustomWizard::Action
|
||||||
user: user
|
user: user
|
||||||
).perform
|
).perform
|
||||||
|
|
||||||
unless watched_categories.is_a?(Array)
|
watched_categories = [*watched_categories].map(&:to_i)
|
||||||
watched_categories = [watched_categories]
|
|
||||||
end
|
|
||||||
|
|
||||||
notification_level = action['notification_level']
|
notification_level = action['notification_level']
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren