Skip to content

Commit

Permalink
Merge pull request #40 from rodekruis/fix.programid-error
Browse files Browse the repository at this point in the history
fix programId extra_logs 121
  • Loading branch information
jmargutt authored Sep 23, 2024
2 parents 643386b + 5cf2979 commit 2093350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 2093350

Please sign in to comment.