export default class AKAttachmentPatch {
    app;
    constructor(app) {
        this.app = app;
    }
    async ready() {
        const attachmentManager = await this.app.container.make('jrmc.attachment');
        attachmentManager.computeUrl = async (attachment, _signedUrlOptions) => {
            attachment.url = await attachment.getUrl();
        };
    }
}
//# sourceMappingURL=attachment_patch_provider.js.map