This commit is contained in:
zadam
2023-04-17 23:21:28 +02:00
parent 0e4a040ed8
commit e28fbf4617
6 changed files with 29 additions and 14 deletions

View File

@@ -123,7 +123,7 @@ export default class AttachmentDetailWidget extends BasicWidget {
if (attachmentChange.isDeleted) {
this.toggleInt(false);
} else {
this.attachment = await server.get(`notes/${this.attachment.parentId}/attachments/${this.attachment.attachmentId}?includeContent=true`);
this.attachment = await server.get(`attachments/${this.attachment.attachmentId}?includeContent=true`);
this.refresh();
}