Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iammukeshm committed Jul 8, 2023
1 parent 254f06c commit a410a0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Infrastructure/Middleware/ResponseLoggingMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public class ResponseLoggingMiddleware : IMiddleware

public async Task InvokeAsync(HttpContext httpContext, RequestDelegate next)
{

var originalBody = httpContext.Response.Body;
using var newBody = new MemoryStream();
httpContext.Response.Body = newBody;
Expand Down
2 changes: 1 addition & 1 deletion tests/Infrastructure.Test/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Startup
.AddTransient<IMemoryCache, MemoryCache>()
.AddTransient<LocalCacheService>()
.AddTransient<IDistributedCache, MemoryDistributedCache>()
.AddTransient<ISerializerService, SystemTextJsonService>()
.AddTransient<ISerializerService, NewtonSoftService>()
.AddTransient<DistributedCacheService>()

.AddPOLocalization(context.Configuration)
Expand Down

0 comments on commit a410a0a

Please sign in to comment.