mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix attachment urls
This commit is contained in:
parent
4468c71d98
commit
557f9709ac
1 changed files with 2 additions and 2 deletions
|
|
@ -2287,8 +2287,8 @@ if (Meteor.isServer) {
|
||||||
attachmentId: attachment._id,
|
attachmentId: attachment._id,
|
||||||
attachmentName: attachment.name,
|
attachmentName: attachment.name,
|
||||||
attachmentType: attachment.type,
|
attachmentType: attachment.type,
|
||||||
url: FlowRouter.url(attachment.link()),
|
url: attachment.link(),
|
||||||
urlDownload: `${FlowRouter.url(attachment.link())}?download=true&token=`,
|
urlDownload: `${attachment.link()}?download=true&token=`,
|
||||||
boardId: attachment.meta.boardId,
|
boardId: attachment.meta.boardId,
|
||||||
swimlaneId: attachment.meta.swimlaneId,
|
swimlaneId: attachment.meta.swimlaneId,
|
||||||
listId: attachment.meta.listId,
|
listId: attachment.meta.listId,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue