use prototype when signing message

This commit is contained in:
Emma [it/its]@Rory& 2025-07-03 10:36:23 +02:00 committed by Rory&
parent 9756ed227b
commit 8bf45dcdc1

View File

@ -266,7 +266,7 @@ export class Message extends BaseClass {
return {
...this,
attachments: this.attachments?.map((attachment: Attachment) =>
attachment.signUrls(req)
Attachment.prototype.signUrls.call(attachment, req)
)
};
}