diff --git a/app/models/channel/twitter2.rb b/app/models/channel/twitter2.rb index cb71db0d1..7f0856a76 100644 --- a/app/models/channel/twitter2.rb +++ b/app/models/channel/twitter2.rb @@ -171,7 +171,7 @@ class Channel::TWITTER2 provider: 'twitter' ) else - Rails.logger.info 'user exists'#, user.inspect + Rails.logger.info 'user exists' end # set current user diff --git a/app/models/ticket/escalation.rb b/app/models/ticket/escalation.rb index 87d63dc64..66508ad2a 100644 --- a/app/models/ticket/escalation.rb +++ b/app/models/ticket/escalation.rb @@ -90,7 +90,7 @@ returns # set ticket escalation self.escalation_time = calculation_higher_time( escalation_time, first_response_escal_date, first_response ) end - if first_response# && !self.first_response_in_min + if first_response # get response time in min between created and first response self.first_response_in_min = escalation_suspend( created_at, first_response, 'real', sla_selected )