[core] metadata is Record

This commit is contained in:
devlikepro committed 2025-10-19 17:08:04 +07:00
1 parent 9a6250a055
commit 5e2802c098
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ export class SessionConfig {
})
@IsDynamicObject()
@IsOptional()
metadata?: Map<string, string>;
metadata?: Record<string, string>;
@ApiProperty({
example: null,
+1 -1
View File
@@ -153,7 +153,7 @@ export class WAHAWebhook<Payload = any> {
},
description: 'Metadata for the session.',
})
metadata?: Map<string, string>;
metadata?: Record<string, string>;
@ApiProperty({
example: WAHAEngine.WEBJS,