read possible old deleted chunks

This commit is contained in:
Chris Lu
2020-08-19 00:43:07 -07:00
parent a78772d5ea
commit c27e18aa6a
5 changed files with 7 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ func fetchChunk(lookupFileIdFn LookupFileIdFunctionType, fileId string, cipherKe
return nil, err
}
var buffer bytes.Buffer
err = util.ReadUrlAsStream(urlString, cipherKey, isGzipped, true, 0, 0, func(data []byte) {
err = util.ReadUrlAsStream(urlString+"?readDeleted=true", cipherKey, isGzipped, true, 0, 0, func(data []byte) {
buffer.Write(data)
})
if err != nil {