chore: Sentry Issue fixes (#4618)

Address the following sentry issues

fixes: #4616, #4617
This commit is contained in:
Sojan Jose
2022-05-05 00:31:11 +05:30
committed by GitHub
parent b3c8c83830
commit c9a8796a36
3 changed files with 22 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class Integrations::Slack::IncomingMessageBuilder
if message.present?
SUPPORTED_MESSAGE_TYPES.include?(message[:type])
else
params[:event][:files].any?
params.dig(:event, :files).any?
end
end