DEV: Make `:send_system_message` arguments strings (#15851)
This commit is contained in:
parent
7223d5e012
commit
ecd88e9abb
|
@ -574,7 +574,7 @@ class Post < ActiveRecord::Base
|
|||
5.seconds,
|
||||
:send_system_message,
|
||||
user_id: user.id,
|
||||
message_type: message,
|
||||
message_type: message.to_s,
|
||||
message_options: options
|
||||
)
|
||||
end
|
||||
|
|
|
@ -321,7 +321,7 @@ private
|
|||
Jobs.enqueue(
|
||||
:send_system_message,
|
||||
user_id: post.user_id,
|
||||
message_type: :flags_disagreed,
|
||||
message_type: "flags_disagreed",
|
||||
message_options: {
|
||||
flagged_post_raw_content: post.raw,
|
||||
url: post.url
|
||||
|
|
Loading…
Reference in New Issue