From 5e2802c098c4d3e334eee68ca7b49d5a091b3eab Mon Sep 17 00:00:00 2001 From: devlikepro Date: Sun, 19 Oct 2025 12:21:30 +0700 Subject: [PATCH] [core] metadata is Record --- src/structures/sessions.dto.ts | 2 +- src/structures/webhooks.dto.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,