From 5cf297935fa94b3afb91c9cb0dfff59cb27dff7b Mon Sep 17 00:00:00 2001 From: tijsziere <39266480+tijsziere@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:30:05 +0200 Subject: [PATCH] fix programId extra_logs 121 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a618440..a3613ec 100644 --- a/main.py +++ b/main.py @@ -453,7 +453,7 @@ async def kobo_to_121(request: Request, dependencies=Depends(required_headers_12 ) logger.info(f"Failed: {error_message}", extra=extra_logs) raise HTTPException(status_code=400, detail=error_message) - extra_logs["121_program_id"] = request.headers["programid"] + extra_logs["121_program_id"] = programid if "referenceId" in request.headers.keys(): referenceId = request.headers["referenceId"]