From 25893bde9aa17cda07e39daad211ca5a782535de Mon Sep 17 00:00:00 2001 From: Livio Brunner Date: Sat, 17 Jun 2023 14:32:14 +0200 Subject: [PATCH] fix(prisma): add `@Injectable` decorator --- lib/health-indicator/database/prisma.health.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/health-indicator/database/prisma.health.ts b/lib/health-indicator/database/prisma.health.ts index 663c276c1..ff7073710 100644 --- a/lib/health-indicator/database/prisma.health.ts +++ b/lib/health-indicator/database/prisma.health.ts @@ -5,6 +5,7 @@ import { import { HealthIndicator } from '../health-indicator'; import { TimeoutError } from '../../errors'; import { HealthCheckError } from '../../health-check'; +import { Injectable } from '@nestjs/common'; type PingCommandSignature = { [Key in string]?: number }; @@ -32,6 +33,7 @@ export interface PrismaClientPingCheckSettings { * @publicApi * @module TerminusModule */ +@Injectable() export class PrismaHealthIndicator extends HealthIndicator { constructor() { super();