[core] metadata is Record
This commit is contained in:
1 parent
9a6250a055
commit
5e2802c098
2 files changed
+2
-2
No files matched your search
@@ -150,7 +150,7 @@ export class SessionConfig {
|
||||
})
|
||||
@IsDynamicObject()
|
||||
@IsOptional()
|
||||
metadata?: Map<string, string>;
|
||||
metadata?: Record<string, string>;
|
||||
|
||||
@ApiProperty({
|
||||
example: null,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user