mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Ref: original & and use fileObj.meta
fileObj.meta is part of the ostrio:files API and be passed to the constructor. This is less hacky than trying tu update a persistet object after the fact.
This commit is contained in:
parent
6e1dce94f0
commit
00d8d7f9fe
10 changed files with 127 additions and 164 deletions
|
|
@ -217,7 +217,7 @@ if (Meteor.isServer) {
|
|||
}
|
||||
if (activity.attachmentId) {
|
||||
const attachment = activity.attachment();
|
||||
params.attachment = attachment.original.name;
|
||||
params.attachment = attachment.name;
|
||||
params.attachmentId = attachment._id;
|
||||
}
|
||||
if (activity.checklistId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue