use prototype when signing message
This commit is contained in:
parent
9756ed227b
commit
8bf45dcdc1
@ -266,7 +266,7 @@ export class Message extends BaseClass {
|
|||||||
return {
|
return {
|
||||||
...this,
|
...this,
|
||||||
attachments: this.attachments?.map((attachment: Attachment) =>
|
attachments: this.attachments?.map((attachment: Attachment) =>
|
||||||
attachment.signUrls(req)
|
Attachment.prototype.signUrls.call(attachment, req)
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user