Applied rubocop suggestions.
This commit is contained in:
parent
1346c60095
commit
fb7173a7b9
3 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ class Channel::Driver::Sms::Twilio
|
|||
|
||||
true
|
||||
rescue => e
|
||||
Rails.logger.debug "Twilio error: #{e.inspect}"
|
||||
Rails.logger.debug { "Twilio error: #{e.inspect}" }
|
||||
raise e
|
||||
end
|
||||
end
|
||||
|
|
|
@ -123,7 +123,7 @@ module Channel::Filter::FollowUpCheck
|
|||
article = message_id_article(message_id)
|
||||
next if article.blank?
|
||||
|
||||
Rails.logger.debug "Follow up for '##{article.ticket.number}' in references."
|
||||
Rails.logger.debug { "Follow up for '##{article.ticket.number}' in references." }
|
||||
mail[:'x-zammad-ticket-id'] = article.ticket_id
|
||||
return true
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ class User
|
|||
return if image_source.blank?
|
||||
return if image_source.match?(URI::DEFAULT_PARSER.make_regexp(%w[http https]))
|
||||
|
||||
Rails.logger.debug "Removed invalid image source '#{image_source}' for user '#{email}'"
|
||||
Rails.logger.debug { "Removed invalid image source '#{image_source}' for user '#{email}'" }
|
||||
|
||||
self.image_source = nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue