Update rs3.js

This commit is contained in:
Mark Nadal 2020-02-10 18:50:01 -08:00
parent 3c30c52f01
commit ed82e28109

View File

@ -67,6 +67,7 @@ function Store(opt){
var params = {Bucket: opts.bucket, Key: file||''};
//console.log("RS3 GET ---->", file);
s3.getObject(params, function got(err, ack){
if(err && 'NoSuchKey' === err.code){ err = u }
//console.log("RS3 GOT <----", err, file, cbs.length, ((ack||{}).Body||'').toString().slice(0,20));
delete c.g[file];//Gun.obj.del(c.g, file);
var data, data = (ack||'').Body;