diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/stoplight.rb | 2 |
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)] |