Add feature to want() missing blobs
This commit is contained in:
@ -8,5 +8,10 @@ module.exports = {
|
||||
debug('requested blob: %s', blobId)
|
||||
const ssb = await cooler.connect()
|
||||
return cooler.read(ssb.blobs.get, blobId)
|
||||
},
|
||||
want: async ({ blobId }) => {
|
||||
debug('requested blob: %s', blobId)
|
||||
const ssb = await cooler.connect()
|
||||
return cooler.get(ssb.blobs.want, blobId)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user