Skip to content

Commit a410a0a

Browse files
committed
fixes
1 parent 254f06c commit a410a0a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/Infrastructure/Middleware/ResponseLoggingMiddleware.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ public class ResponseLoggingMiddleware : IMiddleware
1313

1414
public async Task InvokeAsync(HttpContext httpContext, RequestDelegate next)
1515
{
16-
1716
var originalBody = httpContext.Response.Body;
1817
using var newBody = new MemoryStream();
1918
httpContext.Response.Body = newBody;

tests/Infrastructure.Test/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static void ConfigureServices(IServiceCollection services, HostBuilderCon
2222
.AddTransient<IMemoryCache, MemoryCache>()
2323
.AddTransient<LocalCacheService>()
2424
.AddTransient<IDistributedCache, MemoryDistributedCache>()
25-
.AddTransient<ISerializerService, SystemTextJsonService>()
25+
.AddTransient<ISerializerService, NewtonSoftService>()
2626
.AddTransient<DistributedCacheService>()
2727

2828
.AddPOLocalization(context.Configuration)

0 commit comments

Comments
 (0)