mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
fixup! Ref: Attachments to use modern gridfs (rm localstore)
This commit is contained in:
parent
d0a27aaec2
commit
0254282daf
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const insertActivity = (fileObj, activityType) =>
|
||||||
Attachments = new FilesCollection({
|
Attachments = new FilesCollection({
|
||||||
debug: false, // Change to `true` for debugging
|
debug: false, // Change to `true` for debugging
|
||||||
collectionName: 'attachments',
|
collectionName: 'attachments',
|
||||||
allowClientCode: false,
|
allowClientCode: true,
|
||||||
onAfterUpload: function onAfterUpload(fileRef) {
|
onAfterUpload: function onAfterUpload(fileRef) {
|
||||||
createOnAfterUpload(attachmentBucket).call(this, fileRef);
|
createOnAfterUpload(attachmentBucket).call(this, fileRef);
|
||||||
// If the attachment doesn't have a source field
|
// If the attachment doesn't have a source field
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue