Skip to content

Commit

Permalink
config fix for dmphub service
Browse files Browse the repository at this point in the history
  • Loading branch information
briri committed Nov 7, 2024
1 parent 28758ff commit f463a1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/services/external_apis/dmphub_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ class DmphubService < BaseDmpIdService
class << self
# Retrieve the config settings from the initializer
def landing_page_url
Rails.configuration.x.dmproadmap.dmphublanding_page_url || super
Rails.configuration.x.dmproadmap.dmphub_landing_page_url || super
end

def api_base_url
Rails.configuration.x.dmproadmap.dmphubapi_base_url || super
Rails.configuration.x.dmproadmap.dmphub_api_base_url || super
end

def auth_url
Rails.configuration.x.dmproadmap.dmphubauth_url
Rails.configuration.x.dmproadmap.dmphub_auth_url
end

def active?
Expand Down

0 comments on commit f463a1b

Please sign in to comment.