Skip to content

Commit

Permalink
fix(auth): fixed code generation imports
Browse files Browse the repository at this point in the history
undefined
  • Loading branch information
ZenSoftware committed Dec 9, 2022
1 parent 259c70e commit 3e78ef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/templates/nest-resolvers-abac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export function NestResolversABACTemplate(name: string) {
import { Args, Context, Info, Mutation, Query, Resolver } from '@nestjs/graphql';
import { GraphQLResolveInfo } from 'graphql';
import { CaslSubject, GqlCaslGuard } from '../../auth';
import { CaslSubject, GqlCaslGuard } from '@zen/nest-auth';
import { PrismaSelectArgs } from '../../prisma';
import { IContext } from '../models';
import resolvers from '../paljs/${name}/resolvers';
Expand Down
2 changes: 1 addition & 1 deletion tools/templates/nest-resolvers-rbac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export function NestResolversRBACTemplate(name: string) {
import { Args, Context, Info, Mutation, Query, Resolver } from '@nestjs/graphql';
import { GraphQLResolveInfo } from 'graphql';
import { GqlGuard, Roles } from '../../auth';
import { GqlGuard, Roles } from '@zen/nest-auth';
import { PrismaSelectArgs } from '../../prisma';
import { IContext } from '../models';
import resolvers from '../paljs/${name}/resolvers';
Expand Down

0 comments on commit 3e78ef6

Please sign in to comment.