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:
Dan Ungureanu 2022-03-25 03:07:21 +02:00 committed by GitHub
parent c5508a5790
commit 76ece494f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ class User < ActiveRecord::Base
user_id: id,
message_type: 'welcome_staff',
message_options: {
role: role
role: role.to_s
}
)
end