FIX config

This commit is contained in:
Jasder 2020-08-14 21:31:46 +08:00
parent e11a32e113
commit 04ae2da5bc
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module OauthEducoder
begin
config = Rails.application.config_for(:configuration).symbolize_keys!
educoder_config = config[:oauth][:educoder].symbolize_keys!
educoder_config = config[:oauth_educoder].symbolize_keys!
raise 'oauth educoder config missing' if educoder_config.blank?
rescue => ex
raise ex if Rails.env.production?