mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
Hello gridfs lib + fsHooks for mongodb bucket storage
This commit is contained in:
parent
d75fd69406
commit
18bd797ab9
5 changed files with 128 additions and 0 deletions
4
models/lib/grid/createObjectId.js
Normal file
4
models/lib/grid/createObjectId.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import { MongoInternals } from 'meteor/mongo';
|
||||
|
||||
export const createObjectId = ({ gridFsFileId }) =>
|
||||
new MongoInternals.NpmModule.ObjectID(gridFsFileId);
|
||||
Loading…
Add table
Add a link
Reference in a new issue