mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Added more descriptive times of attachment migrations and uploads.
Thanks to xet7 ! Related https://github.com/wekan/wekan/issues/4891
This commit is contained in:
parent
aff94a6770
commit
f11650ece1
2 changed files with 3 additions and 1 deletions
|
|
@ -91,6 +91,7 @@ Attachments = new FilesCollection({
|
|||
});
|
||||
|
||||
Attachments.update({ _id: fileObj._id }, { $set: { "versions" : fileObj.versions } });
|
||||
Attachments.update({ _id: fileObj.uploadedAtOstrio }, { $set: { "uploadedAtOstrio" : this._now() } });
|
||||
|
||||
let storageDestination = fileObj.meta.copyStorage || STORAGE_NAME_GRIDFS;
|
||||
Meteor.defer(() => Meteor.call('validateAttachmentAndMoveToStorage', fileObj._id, storageDestination));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue