feat: Improved password security policy (#2345)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# layout will be rendered with erb and other content in html format
|
||||
# Further processing in liquid is implemented in mailers
|
||||
|
||||
# Note: rails resolver looks for templates in cache first
|
||||
# NOTE: rails resolver looks for templates in cache first
|
||||
# which we don't want to happen here
|
||||
# so we are overriding find_all method in action view resolver
|
||||
# If anything breaks - look into rails : actionview/lib/action_view/template/resolver.rb
|
||||
|
||||
@@ -79,12 +79,12 @@ class Notification::PushNotificationService
|
||||
|
||||
def fcm_options
|
||||
{
|
||||
"notification": {
|
||||
"title": notification.notification_type.titleize,
|
||||
"body": notification.push_message_title
|
||||
notification: {
|
||||
title: notification.notification_type.titleize,
|
||||
body: notification.push_message_title
|
||||
},
|
||||
"data": { notification: notification.push_event_data.to_json },
|
||||
"collapse_key": "chatwoot_#{notification.primary_actor_type.downcase}_#{notification.primary_actor_id}"
|
||||
data: { notification: notification.push_event_data.to_json },
|
||||
collapse_key: "chatwoot_#{notification.primary_actor_type.downcase}_#{notification.primary_actor_id}"
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user