diff --git a/social-payments-account-registry/src/social_payments_account_registry/config.py b/social-payments-account-registry/src/social_payments_account_registry/config.py index d849095..f6766f6 100644 --- a/social-payments-account-registry/src/social_payments_account_registry/config.py +++ b/social-payments-account-registry/src/social_payments_account_registry/config.py @@ -19,6 +19,8 @@ class Settings(AuthSettings, Settings): """ openapi_version: str = "0.1.0" + db_dbname: str = "spardb" + auth_api_get_dfsp_level: ApiAuthSettings = ApiAuthSettings(enabled=True) auth_api_get_fa_request: ApiAuthSettings = ApiAuthSettings(enabled=True) auth_api_update_fa_request: ApiAuthSettings = ApiAuthSettings(enabled=True) diff --git a/social-payments-account-registry/src/social_payments_account_registry/controllers/self_service_controller.py b/social-payments-account-registry/src/social_payments_account_registry/controllers/self_service_controller.py index 3268190..54b1b71 100644 --- a/social-payments-account-registry/src/social_payments_account_registry/controllers/self_service_controller.py +++ b/social-payments-account-registry/src/social_payments_account_registry/controllers/self_service_controller.py @@ -35,7 +35,7 @@ def __init__(self, **kwargs): methods=["GET"], ) self.router.add_api_route( - "/updateFaRequest/", + "/updateFaRequest", self.update_fa_request, responses={200: {"model": UpdateTxnStatus}}, methods=["POST"],