-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.
Description
using GCS, when creating a new object, i tried to directly pipe in a http response, but API does not recognize it as readable stream.
http.get('http://www.example.com/image.jpeg', function(response){
storage.objects.insert({bucket: 'my-bucket',name:'testThing',media:{body:response}}, function (err,uploadResult){
if (err){
console.log('err',err);
return res.status(500).send('upload failed');
}
return res.status(201).send({id:123456});
})
})
Providing a pull request that fixes it for me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.