mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
REST API: Added file download URL to listing of attachments of a board. Part 2.
Thanks to xet7 ! Related #1482
This commit is contained in:
parent
2ec53b27d1
commit
36e29a405e
1 changed files with 1 additions and 1 deletions
|
|
@ -1780,7 +1780,7 @@ if (Meteor.isServer) {
|
|||
attachmentName: doc.original.name,
|
||||
attachmentType: doc.original.type,
|
||||
url: FlowRouter.url(doc.url()),
|
||||
urlDownload: `${FlowRouter.url(doc.url())}?&download=true&token=`,
|
||||
urlDownload: `${FlowRouter.url(doc.url())}?download=true&token=`,
|
||||
cardId: doc.cardId,
|
||||
listId: doc.listId,
|
||||
swimlaneId: doc.swimlaneId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue