File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
src/Infrastructure/BotSharp.OpenAPI Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 1111using Microsoft . OpenApi . Models ;
1212using Microsoft . IdentityModel . JsonWebTokens ;
1313using BotSharp . OpenAPI . BackgroundServices ;
14- using BotSharp . Abstraction . Settings ;
15- using BotSharp . Abstraction . Google . Settings ;
1614
1715namespace BotSharp . OpenAPI ;
1816
@@ -34,12 +32,6 @@ public static IServiceCollection AddBotSharpOpenAPI(this IServiceCollection serv
3432 services . AddScoped < IUserIdentity , UserIdentity > ( ) ;
3533 services . AddHostedService < ConversationTimeoutService > ( ) ;
3634
37- services . AddScoped ( provider =>
38- {
39- var settingService = provider . GetRequiredService < ISettingService > ( ) ;
40- return settingService . Bind < GoogleApiSettings > ( "GoogleApi" ) ;
41- } ) ;
42-
4335 // Add bearer authentication
4436 var schema = "MIXED_SCHEME" ;
4537 var builder = services . AddAuthentication ( options =>
You can’t perform that action at this time.
0 commit comments