NestJS - Database with Prisma
You wrote this PrismaService method but get a runtime error:
async getUser(id: number) {
return this.prisma.user.findUnique({ where: { id } });
} What is the likely cause?