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(
59
59
IMvcCoreBuilder mvcBuilder ,
60
60
Action < ServiceDiscoveryFacade > autoDiscover = null )
61
61
{
62
- var options = new JsonApiOptions ( ) ;
63
- configureOptions ( options ) ;
62
+ var config = new JsonApiOptions ( ) ;
63
+ configureOptions ( config ) ;
64
64
65
65
if ( autoDiscover != null )
66
66
{
67
- var facade = new ServiceDiscoveryFacade ( services , options . ContextGraphBuilder ) ;
67
+ var facade = new ServiceDiscoveryFacade ( services , config . ContextGraphBuilder ) ;
68
68
autoDiscover ( facade ) ;
69
69
}
70
70
71
71
mvcBuilder . AddMvcOptions ( opt => AddMvcOptions ( opt , config ) ) ;
72
72
73
- AddJsonApiInternals ( services , options ) ;
73
+ AddJsonApiInternals ( services , config ) ;
74
74
return services ;
75
75
}
76
76
You can’t perform that action at this time.
0 commit comments