Skip to content

Commit

Permalink
fix: fix extension method
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng committed Dec 4, 2023
1 parent ad9dc58 commit c7b4b02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static IServiceCollection AddObservable(this IServiceCollection services,
return services;
}

public static IApplicationBuilder UseMASAHttpReponseLog(IApplicationBuilder app)
public static IApplicationBuilder UseMASAHttpReponseLog(this IApplicationBuilder app)
{
return app.UseMiddleware<HttpResponseMiddleware>();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.

using StackExchange.Redis;

namespace Microsoft.Extensions.DependencyInjection;

public static partial class ServiceExtensions
Expand Down

0 comments on commit c7b4b02

Please sign in to comment.