From 72147d98e85359ab372795d106c7ac3679e538a8 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Sun, 9 Mar 2025 22:02:51 +0100 Subject: [PATCH] added debugging --- app/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/main.py b/app/main.py index b44201f..80d6648 100644 --- a/app/main.py +++ b/app/main.py @@ -415,10 +415,17 @@ async def auth_v1_token(request: Request): # NLS 3.4.0 - venv/lib/python3.12/site-packages/nls_services_lease/test/test_lease_single_controller.py @app.post('/leasing/v1/config-token', description='request to get config token for lease operations') async def leasing_v1_config_token(request: Request): + j, cur_time = json_loads((await request.body()).decode('utf-8')), datetime.now(UTC) + + logging.debug('CALLED /leasing/v1/config-token') + logging.debug(j) + response = { "service_instance_ref": INSTANCE_REF, } + logging.debug(response) + return JSONr(response)