From 236b0f9b26814c0ee807db111987784e97e80b77 Mon Sep 17 00:00:00 2001 From: Jesus Date: Tue, 7 Jan 2025 08:59:51 +0100 Subject: [PATCH] Fix import prisma types --- src/api/dto/instance.dto.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/dto/instance.dto.ts b/src/api/dto/instance.dto.ts index 66d23033..58298d57 100644 --- a/src/api/dto/instance.dto.ts +++ b/src/api/dto/instance.dto.ts @@ -1,4 +1,5 @@ import { IntegrationDto } from '@api/integrations/integration.dto'; +import { JsonValue } from '@prisma/client/runtime/library'; import { WAPresence } from 'baileys'; export class InstanceDto extends IntegrationDto { @@ -27,7 +28,7 @@ export class InstanceDto extends IntegrationDto { webhook?: { enabled?: boolean; events?: string[]; - headers?: { [key: string]: string }; + headers?: JsonValue; url?: string; byEvents?: boolean; base64?: boolean;