File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/JsonApiDotNetCore/Extensions Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,18 +59,18 @@ public static IServiceCollection AddJsonApi(
5959 IMvcCoreBuilder mvcBuilder ,
6060 Action < ServiceDiscoveryFacade > autoDiscover = null )
6161 {
62- var options = new JsonApiOptions ( ) ;
63- configureOptions ( options ) ;
62+ var config = new JsonApiOptions ( ) ;
63+ configureOptions ( config ) ;
6464
6565 if ( autoDiscover != null )
6666 {
67- var facade = new ServiceDiscoveryFacade ( services , options . ContextGraphBuilder ) ;
67+ var facade = new ServiceDiscoveryFacade ( services , config . ContextGraphBuilder ) ;
6868 autoDiscover ( facade ) ;
6969 }
7070
7171 mvcBuilder . AddMvcOptions ( opt => AddMvcOptions ( opt , config ) ) ;
7272
73- AddJsonApiInternals ( services , options ) ;
73+ AddJsonApiInternals ( services , config ) ;
7474 return services ;
7575 }
7676
You can’t perform that action at this time.
0 commit comments