Fix server typescript depth error

This commit is contained in:
Charles Bochet
2023-10-20 00:20:47 +02:00
parent 943731fed8
commit 14a5a91499

View File

@ -3,7 +3,7 @@ import { UseGuards } from '@nestjs/common';
import { InputType } from '@nestjs/graphql';
import { Field } from '@nestjs/graphql';
import { Workspace } from '@prisma/client';
import { Prisma, Workspace } from '@prisma/client';
import {
PrismaSelect,
@ -144,7 +144,7 @@ export class FavoriteResolver {
data: args.data,
where: args.where,
select: prismaSelect.value,
});
} as Prisma.FavoriteUpdateArgs);
}
@Mutation(() => Favorite, {