DEV: Fix "serialize to JSON safely" deprecation (#16280)
Job arguments must match after a serialize-deserialize cycle and symbols were converted to strings during this process.
This commit is contained in:
parent
c5508a5790
commit
76ece494f9
|
@ -428,7 +428,7 @@ class User < ActiveRecord::Base
|
|||
user_id: id,
|
||||
message_type: 'welcome_staff',
|
||||
message_options: {
|
||||
role: role
|
||||
role: role.to_s
|
||||
}
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue