{"action":"created","issue":{"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/397","repository_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files","labels_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/397/comments","events_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/397/events","html_url":"https://github.com/VeliovGroup/Meteor-Files/issues/397","id":218816940,"number":397,"title":".write( ) not passing through onAfterUpload( ) of FilesCollection","user":{"login":"mking200","id":10821526,"avatar_url":"https://avatars0.githubusercontent.com/u/10821526?v=3","gravatar_id":"","url":"https://api.github.com/users/mking200","html_url":"https://github.com/mking200","followers_url":"https://api.github.com/users/mking200/followers","following_url":"https://api.github.com/users/mking200/following{/other_user}","gists_url":"https://api.github.com/users/mking200/gists{/gist_id}","starred_url":"https://api.github.com/users/mking200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mking200/subscriptions","organizations_url":"https://api.github.com/users/mking200/orgs","repos_url":"https://api.github.com/users/mking200/repos","events_url":"https://api.github.com/users/mking200/events{/privacy}","received_events_url":"https://api.github.com/users/mking200/received_events","type":"User","site_admin":false},"labels":[{"id":396173478,"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/labels/.write()","name":".write()","color":"fafafa","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-03T02:38:01Z","updated_at":"2017-04-03T06:49:25Z","closed_at":null,"body":"I noticed when using the .write( ) to upload a file, it uploads straight to the file system and not the one set on the onAfterUpload( ) option.   \r\n\r\nIn my case, am storing the images on GridFS, but the files uploaded using .write( ) does not get uploaded to MongoDB. Only on the file system.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/comments/291061628","html_url":"https://github.com/VeliovGroup/Meteor-Files/issues/397#issuecomment-291061628","issue_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/397","id":291061628,"user":{"login":"dr-dimitru","id":1686778,"avatar_url":"https://avatars3.githubusercontent.com/u/1686778?v=3","gravatar_id":"","url":"https://api.github.com/users/dr-dimitru","html_url":"https://github.com/dr-dimitru","followers_url":"https://api.github.com/users/dr-dimitru/followers","following_url":"https://api.github.com/users/dr-dimitru/following{/other_user}","gists_url":"https://api.github.com/users/dr-dimitru/gists{/gist_id}","starred_url":"https://api.github.com/users/dr-dimitru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr-dimitru/subscriptions","organizations_url":"https://api.github.com/users/dr-dimitru/orgs","repos_url":"https://api.github.com/users/dr-dimitru/repos","events_url":"https://api.github.com/users/dr-dimitru/events{/privacy}","received_events_url":"https://api.github.com/users/dr-dimitru/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T06:49:25Z","updated_at":"2017-04-03T06:49:25Z","body":"Hello @mking200 ,\r\n\r\n[`write(buffer [, opts, callback, proceedAfterUpload])`](https://github.com/VeliovGroup/Meteor-Files/wiki/Write) set fourth argument `proceedAfterUpload` to true.\r\n\r\nLet me know if it helps"}}
{"actor":{"display_login":"dr-dimitru"}}