diff --git a/Endpoint/Controllers/V1/AuthController.cs b/Endpoint/Controllers/V1/AuthController.cs index 2b01b54..b7c49f3 100644 --- a/Endpoint/Controllers/V1/AuthController.cs +++ b/Endpoint/Controllers/V1/AuthController.cs @@ -199,7 +199,7 @@ public class AuthController(IOptionsSnapshot user, IOptionsSnapshot() { - { "traceId", HttpContext.TraceIdentifier } + { "traceId", Activity.Current?.Id ?? HttpContext.TraceIdentifier } } }); @@ -212,7 +212,7 @@ public class AuthController(IOptionsSnapshot user, IOptionsSnapshot() { - { "traceId", HttpContext.TraceIdentifier } + { "traceId", Activity.Current?.Id ?? HttpContext.TraceIdentifier } } });