progress on stuff

This commit is contained in:
lennyaiko
2025-04-03 17:14:09 +01:00
parent 87fe0fb5a0
commit a4df4912d6
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ from app.api.services import (
RepaymentService,
CustomerConsentService,
NotificationCallbackService,
AuthorizationService,
)
from app.utils.logger import logger
from app.api.middlewares import enforce_json, require_auth
@@ -116,5 +117,5 @@ def health_check():
def authorize():
data = request.get_json()
# logger.info(f"Authorize request received: {data}")
response = NotificationCallbackService.process_request(data)
response = AuthorizationService.process_request(data)
return response
+2 -1
View File
@@ -4,4 +4,5 @@ from app.api.services.provide_loan import ProvideLoanService
from app.api.services.loan_status import LoanStatusService
from app.api.services.repayment import RepaymentService
from app.api.services.customer_consent import CustomerConsentService
from app.api.services.notification_callback import NotificationCallbackService
from app.api.services.notification_callback import NotificationCallbackService
from app.api.services.authorization import AuthorizationService