Skip to content

Commit

Permalink
Fix import prisma types
Browse files Browse the repository at this point in the history
  • Loading branch information
jesus-chacon committed Jan 7, 2025
1 parent 0f2498b commit 236b0f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/dto/instance.dto.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 236b0f9

Please sign in to comment.