mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 21:47:10 -04:00
fixup! Ref: Attachments to use modern gridfs (rm localstore)
This commit is contained in:
parent
6f995a5bdd
commit
c29393dd7e
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ import { createOnAfterUpload } from './lib/fsHooks/createOnAfterUpload';
|
|||
import { createInterceptDownload } from './lib/fsHooks/createInterceptDownload';
|
||||
import { createOnAfterRemove } from './lib/fsHooks/createOnAfterRemove';
|
||||
|
||||
const attachmentBucket = createBucket('attachments');
|
||||
let attachmentBucket;
|
||||
if (Meteor.isServer) {
|
||||
attachmentBucket = createBucket('attachments');
|
||||
}
|
||||
|
||||
const insertActivity = (fileObj, activityType) =>
|
||||
Activities.insert({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue