chore: Bundle update (#4038)

- address the nokogiri security issues
This commit is contained in:
Sojan Jose
2022-02-22 16:06:04 +05:30
committed by GitHub
parent e348db1e37
commit eb0da2026f
4 changed files with 164 additions and 152 deletions

View File

@@ -138,7 +138,7 @@ class Api::V1::Accounts::InboxesController < Api::V1::Accounts::BaseController
end
def get_channel_attributes(channel_type)
if channel_type.constantize.const_defined?('EDITABLE_ATTRS')
if channel_type.constantize.const_defined?(:EDITABLE_ATTRS)
channel_type.constantize::EDITABLE_ATTRS.presence
else
[]