From 745c938ff65b0ee2d4560a26d4f611ae80463ffb Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Tue, 11 Jul 2023 12:07:42 +0100 Subject: [PATCH] Disable duplicate check on staging (#1767) --- app/services/feature_toggle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/feature_toggle.rb b/app/services/feature_toggle.rb index 153b7352a..113834b0f 100644 --- a/app/services/feature_toggle.rb +++ b/app/services/feature_toggle.rb @@ -35,6 +35,6 @@ class FeatureToggle end def self.deduplication_flow_enabled? - !Rails.env.production? + !Rails.env.production? && !Rails.env.staging? end end