Skip to content

Commit 236b0f9

Browse files
committed
Fix import prisma types
1 parent 0f2498b commit 236b0f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/dto/instance.dto.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { IntegrationDto } from '@api/integrations/integration.dto';
2+
import { JsonValue } from '@prisma/client/runtime/library';
23
import { WAPresence } from 'baileys';
34

45
export class InstanceDto extends IntegrationDto {
@@ -27,7 +28,7 @@ export class InstanceDto extends IntegrationDto {
2728
webhook?: {
2829
enabled?: boolean;
2930
events?: string[];
30-
headers?: { [key: string]: string };
31+
headers?: JsonValue;
3132
url?: string;
3233
byEvents?: boolean;
3334
base64?: boolean;

0 commit comments

Comments
 (0)