about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config/initializers/stoplight.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/stoplight.rb b/config/initializers/stoplight.rb
index 7384b2e9a..d9ebca76c 100644
--- a/config/initializers/stoplight.rb
+++ b/config/initializers/stoplight.rb
@@ -1,4 +1,4 @@
 require 'stoplight'
 
-Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(Redis.current)
+Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(RedisConfiguration.new.connection)
 Stoplight::Light.default_notifiers  = [Stoplight::Notifier::Logger.new(Rails.logger)]