From da9ef53306f9bce7b770a15a08d5a507675507bc Mon Sep 17 00:00:00 2001 From: Lalith Kota Date: Tue, 31 Oct 2023 08:31:50 +0530 Subject: [PATCH 1/2] Added DB name in config --- .../src/social_payments_account_registry/config.py | 2 ++ 1 file changed, 2 insertions(+) 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) From de3c28f5ab71c04e74e44b1294358a8fb119aeaf Mon Sep 17 00:00:00 2001 From: Lalith Kota Date: Tue, 31 Oct 2023 15:20:35 +0530 Subject: [PATCH 2/2] Removed Trailing slash in Update API --- .../controllers/self_service_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"],