Skip to content

Commit

Permalink
Testing valut config mapping (bcgov#178)
Browse files Browse the repository at this point in the history
* Add code owner for strr-api directory

* adding thor as a codeowner for strr-api

* add pay_api_version and comment out sub audience
  • Loading branch information
avni-work authored Oct 11, 2024
1 parent 704846a commit cc7b334
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions queue_services/strr-pay/src/strr_pay/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Config: # pylint: disable=too-few-public-methods

PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))

PAYMENT_SVC_URL = os.getenv("PAYMENT_SVC_URL", "")
PAYMENT_SVC_URL = os.getenv("PAY_API_URL", "") + os.getenv("PAY_API_VERSION", "")

SENTRY_DSN = os.getenv("SENTRY_DSN", None)

Expand All @@ -92,8 +92,8 @@ class Config: # pylint: disable=too-few-public-methods
PUBLISHER_AUDIENCE = os.getenv(
"PUBLISHER_AUDIENCE", "https://pubsub.googleapis.com/google.pubsub.v1.Publisher"
)
SUB_AUDIENCE = os.getenv("SUB_AUDIENCE", "")
SUB_SERVICE_ACCOUNT = os.getenv("SUB_SERVICE_ACCOUNT", "")
# SUB_AUDIENCE = os.getenv("SUB_AUDIENCE", "")
# SUB_SERVICE_ACCOUNT = os.getenv("SUB_SERVICE_ACCOUNT", "")

SQLALCHEMY_TRACK_MODIFICATIONS = False

Expand Down

0 comments on commit cc7b334

Please sign in to comment.