diff --git a/tools/templates/nest-resolvers-abac.ts b/tools/templates/nest-resolvers-abac.ts index da0bb86ff..5cdf4d1c3 100644 --- a/tools/templates/nest-resolvers-abac.ts +++ b/tools/templates/nest-resolvers-abac.ts @@ -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'; diff --git a/tools/templates/nest-resolvers-rbac.ts b/tools/templates/nest-resolvers-rbac.ts index 7ac4dff66..d58f5b983 100644 --- a/tools/templates/nest-resolvers-rbac.ts +++ b/tools/templates/nest-resolvers-rbac.ts @@ -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';