Skip to content

Commit

Permalink
Merge pull request #1496 from 0chain/hotfix/complete-mime
Browse files Browse the repository at this point in the history
Add mimeType in complete status cb
  • Loading branch information
dabasov authored May 20, 2024
2 parents 912ef0c + e9d6f2c commit 27357a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zboxcore/sdk/downloadworker.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ func (req *DownloadRequest) processDownload() {

if req.statusCallback != nil && !req.skip {
req.statusCallback.Completed(
req.allocationID, remotePathCB, fRef.Name, "", int(size), op)
req.allocationID, remotePathCB, fRef.Name, fRef.MimeType, int(size), op)
}
if req.downloadStorer != nil {
req.downloadStorer.Remove() //nolint:errcheck
Expand Down

0 comments on commit 27357a9

Please sign in to comment.