修改
This commit is contained in:
@@ -37,12 +37,16 @@ namespace IRaCIS.Core.API._PipelineExtensions.Serilog
|
||||
}
|
||||
else
|
||||
{
|
||||
var requestBodyPayload = await ReadRequestBody(context.Request);
|
||||
|
||||
using (LogContext.PushProperty("RequestBody", requestBodyPayload))
|
||||
{
|
||||
//await _next.Invoke(context);
|
||||
}
|
||||
await _next.Invoke(context);
|
||||
|
||||
//var requestBodyPayload = await ReadRequestBody(context.Request);
|
||||
|
||||
//using (LogContext.PushProperty("RequestBody", requestBodyPayload))
|
||||
//{
|
||||
// //await _next.Invoke()
|
||||
// await _next.Invoke(context);
|
||||
//}
|
||||
}
|
||||
|
||||
//var request = context.Request;
|
||||
|
||||
Reference in New Issue
Block a user