progress on stuff
This commit is contained in:
@@ -7,6 +7,7 @@ from app.api.services import (
|
|||||||
RepaymentService,
|
RepaymentService,
|
||||||
CustomerConsentService,
|
CustomerConsentService,
|
||||||
NotificationCallbackService,
|
NotificationCallbackService,
|
||||||
|
AuthorizationService,
|
||||||
)
|
)
|
||||||
from app.utils.logger import logger
|
from app.utils.logger import logger
|
||||||
from app.api.middlewares import enforce_json, require_auth
|
from app.api.middlewares import enforce_json, require_auth
|
||||||
@@ -116,5 +117,5 @@ def health_check():
|
|||||||
def authorize():
|
def authorize():
|
||||||
data = request.get_json()
|
data = request.get_json()
|
||||||
# logger.info(f"Authorize request received: {data}")
|
# logger.info(f"Authorize request received: {data}")
|
||||||
response = NotificationCallbackService.process_request(data)
|
response = AuthorizationService.process_request(data)
|
||||||
return response
|
return response
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ from app.api.services.provide_loan import ProvideLoanService
|
|||||||
from app.api.services.loan_status import LoanStatusService
|
from app.api.services.loan_status import LoanStatusService
|
||||||
from app.api.services.repayment import RepaymentService
|
from app.api.services.repayment import RepaymentService
|
||||||
from app.api.services.customer_consent import CustomerConsentService
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user