refactor(logging): update header priority for client identification

Changed the priority of headers for client identification in logs:
Now prioritizing the 'Remote-User' header over the 'X-Client-ID' header.
This commit is contained in:
Mose Müller
2025-01-20 06:29:57 +01:00
parent 045334e51e
commit 9b2d181f4a
3 changed files with 7 additions and 7 deletions

View File

@ -274,7 +274,7 @@ async def test_trigger_method(
"X-Client-Id": "client-header",
"Remote-User": "Remote User",
},
"id=client-header",
"user=Remote User",
),
],
)