Skip to content

Commit

Permalink
Merge pull request #59 from fossapps/hotfix
Browse files Browse the repository at this point in the history
fix(di): add requirePermissionVisitor to di
  • Loading branch information
cyberhck authored Jun 26, 2021
2 parents a5c76de + 8919f90 commit 9d5dcdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Micro.Auth.Api/Internal/StartupExtensions/GraphQl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public static void ConfigureGraphQl(this IServiceCollection services)
services.AddTransient<UserByIdDataLoader>();
services.AddTransient<SessionByUserDataLoader>();
services.AddScoped<AuthorizeDirectiveVisitor>();
services.AddScoped<RequirePermissionDirectiveVisitor>();
services
.AddGraphQL(options =>
{
Expand Down

0 comments on commit 9d5dcdb

Please sign in to comment.