DEV: removes default for minimum time (#203)

DEV: removes default for minimum time (#203)

diff --git a/plugin.rb b/plugin.rb
index 413bbb4..415e0fe 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -679,10 +679,10 @@ after_initialize do
         next unless group_id = fields.dig('assignees_group', 'value')
         next unless group = Group.find_by(id: group_id)
 
-        min_hours = (fields.dig('minimum_time_between_assignments', 'value') || 12).to_i
-        if TopicCustomField
+        min_hours = fields.dig('minimum_time_between_assignments', 'value')
+        if min_hours && TopicCustomField
             .where(name: 'assigned_to_id', topic_id: topic_id)
-            .where('created_at < ?', min_hours.hours.ago)
+            .where('created_at < ?', min_hours.to_i.hours.ago)
             .exists?
           next
         end

GitHub sha: cfc25d9ac212a76306103f28b4bb66c00a43201a

This commit appears in #203 which was approved by eviltrout and pmusaraj. It was merged by jjaffeux.