jalik / meteor-jalik-ufs-gridfs

GridFS store for UploadFS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GridFSStore is not a function

jaqua opened this issue · comments

commented

I have to use new UploadFS.store.GridFS({ })

If I use new GridFSStore({ }) (like shown in this readme) I get the error TypeError: GridFSStore is not a function

@jaqua all my apologies, I forgot to publish the package after pushing to github... it's now working (I've checked it twice).

FYI, you can create a store by importing it like in the example, but there is a legacy way to do it like below :

const Photos = new UploadFS.store.GridFS(options);