Fix server typescript depth error
This commit is contained in:
@ -3,7 +3,7 @@ import { UseGuards } from '@nestjs/common';
|
|||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
|
|
||||||
import { Workspace } from '@prisma/client';
|
import { Prisma, Workspace } from '@prisma/client';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
PrismaSelect,
|
PrismaSelect,
|
||||||
@ -144,7 +144,7 @@ export class FavoriteResolver {
|
|||||||
data: args.data,
|
data: args.data,
|
||||||
where: args.where,
|
where: args.where,
|
||||||
select: prismaSelect.value,
|
select: prismaSelect.value,
|
||||||
});
|
} as Prisma.FavoriteUpdateArgs);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Mutation(() => Favorite, {
|
@Mutation(() => Favorite, {
|
||||||
|
|||||||
Reference in New Issue
Block a user