diff --git a/src/structures/sessions.dto.ts b/src/structures/sessions.dto.ts index 20c5f591..cd45618d 100644 --- a/src/structures/sessions.dto.ts +++ b/src/structures/sessions.dto.ts @@ -150,7 +150,7 @@ export class SessionConfig { }) @IsDynamicObject() @IsOptional() - metadata?: Map; + metadata?: Record; @ApiProperty({ example: null, diff --git a/src/structures/webhooks.dto.ts b/src/structures/webhooks.dto.ts index f914c3d6..954dc3fb 100644 --- a/src/structures/webhooks.dto.ts +++ b/src/structures/webhooks.dto.ts @@ -153,7 +153,7 @@ export class WAHAWebhook { }, description: 'Metadata for the session.', }) - metadata?: Map; + metadata?: Record; @ApiProperty({ example: WAHAEngine.WEBJS,