Skip to content

Commit

Permalink
reversed logic to only apply split endpoints when product is NOT "EPS…
Browse files Browse the repository at this point in the history
…-FHIR-DISPENSING" and "EPS-FHIR-PRESCRIBING"
  • Loading branch information
seansteberisal committed Nov 6, 2024
1 parent d1f62c7 commit 58128dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion methods/api/eps_api_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def calculate_eps_fhir_base_url(context):
product = context.config.userdata["product"].upper()
global PRESCRIBING_BASE_URL
global DISPENSING_BASE_URL
if product == "EPS-FHIR":
if product != "EPS-FHIR-DISPENSING" and product != "EPS-FHIR-PRESCRIBING":
PRESCRIBING_BASE_URL = context.eps_fhir_base_url
DISPENSING_BASE_URL = context.eps_fhir_base_url
else:
Expand Down

0 comments on commit 58128dc

Please sign in to comment.