Fix attachment urls

This commit is contained in:
Vid Smole 2023-07-05 12:51:49 +02:00
parent 4468c71d98
commit 557f9709ac

View file

@ -2287,8 +2287,8 @@ if (Meteor.isServer) {
attachmentId: attachment._id,
attachmentName: attachment.name,
attachmentType: attachment.type,
url: FlowRouter.url(attachment.link()),
urlDownload: `${FlowRouter.url(attachment.link())}?download=true&token=`,
url: attachment.link(),
urlDownload: `${attachment.link()}?download=true&token=`,
boardId: attachment.meta.boardId,
swimlaneId: attachment.meta.swimlaneId,
listId: attachment.meta.listId,