We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f2498b commit 236b0f9Copy full SHA for 236b0f9
1 file changed
src/api/dto/instance.dto.ts
@@ -1,4 +1,5 @@
1
import { IntegrationDto } from '@api/integrations/integration.dto';
2
+import { JsonValue } from '@prisma/client/runtime/library';
3
import { WAPresence } from 'baileys';
4
5
export class InstanceDto extends IntegrationDto {
@@ -27,7 +28,7 @@ export class InstanceDto extends IntegrationDto {
27
28
webhook?: {
29
enabled?: boolean;
30
events?: string[];
- headers?: { [key: string]: string };
31
+ headers?: JsonValue;
32
url?: string;
33
byEvents?: boolean;
34
base64?: boolean;
0 commit comments