mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Update rs3.js
This commit is contained in:
parent
3c30c52f01
commit
ed82e28109
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user