{"action":"created","issue":{"url":"https://api.github.com/repos/devconcept/multer-gridfs-storage/issues/6","repository_url":"https://api.github.com/repos/devconcept/multer-gridfs-storage","labels_url":"https://api.github.com/repos/devconcept/multer-gridfs-storage/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/devconcept/multer-gridfs-storage/issues/6/comments","events_url":"https://api.github.com/repos/devconcept/multer-gridfs-storage/issues/6/events","html_url":"https://github.com/devconcept/multer-gridfs-storage/issues/6","id":274532206,"number":6,"title":"Read file from storage","user":{"login":"MarkSalabutin","id":20834494,"avatar_url":"https://avatars3.githubusercontent.com/u/20834494?v=4","gravatar_id":"","url":"https://api.github.com/users/MarkSalabutin","html_url":"https://github.com/MarkSalabutin","followers_url":"https://api.github.com/users/MarkSalabutin/followers","following_url":"https://api.github.com/users/MarkSalabutin/following{/other_user}","gists_url":"https://api.github.com/users/MarkSalabutin/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkSalabutin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkSalabutin/subscriptions","organizations_url":"https://api.github.com/users/MarkSalabutin/orgs","repos_url":"https://api.github.com/users/MarkSalabutin/repos","events_url":"https://api.github.com/users/MarkSalabutin/events{/privacy}","received_events_url":"https://api.github.com/users/MarkSalabutin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-16T14:20:53Z","updated_at":"2017-12-13T13:38:35Z","closed_at":"2017-11-16T18:21:25Z","author_association":"NONE","body":"How I can read file from storage? "},"comment":{"url":"https://api.github.com/repos/devconcept/multer-gridfs-storage/issues/comments/351393397","html_url":"https://github.com/devconcept/multer-gridfs-storage/issues/6#issuecomment-351393397","issue_url":"https://api.github.com/repos/devconcept/multer-gridfs-storage/issues/6","id":351393397,"user":{"login":"devconcept","id":10549329,"avatar_url":"https://avatars3.githubusercontent.com/u/10549329?v=4","gravatar_id":"","url":"https://api.github.com/users/devconcept","html_url":"https://github.com/devconcept","followers_url":"https://api.github.com/users/devconcept/followers","following_url":"https://api.github.com/users/devconcept/following{/other_user}","gists_url":"https://api.github.com/users/devconcept/gists{/gist_id}","starred_url":"https://api.github.com/users/devconcept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devconcept/subscriptions","organizations_url":"https://api.github.com/users/devconcept/orgs","repos_url":"https://api.github.com/users/devconcept/repos","events_url":"https://api.github.com/users/devconcept/events{/privacy}","received_events_url":"https://api.github.com/users/devconcept/received_events","type":"User","site_admin":false},"created_at":"2017-12-13T13:38:35Z","updated_at":"2017-12-13T13:38:35Z","author_association":"OWNER","body":"@MarkSalabutin  Sorry for the delayed answer. I don't recommend you to use `gridfs-stream` unless you are using `mongo < 2.2`. It uses [`GridStore`](http://mongodb.github.io/node-mongodb-native/2.1/api/GridStore.html) which is deprecated.\r\n\r\nYou should use the native [`GridFSBucket`](http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucket.html) class that ships with mongo.\r\n\r\nThe only reason this library exists is because `GridStore` is awfull but `GridFSBucket` is a significant improvement as API to handle file streams.\r\n"}}
{"actor":{"display_login":"devconcept"}}