Skip to content

Commit

Permalink
Use download ID from metadata request in CLI download
Browse files Browse the repository at this point in the history
See #22
  • Loading branch information
benbusby committed Feb 6, 2025
1 parent c5108fe commit 27defa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/transfer/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func InitVaultDownload(
return PendingDownload{}, err
}

p := initDownload(id, globals.Config.Server, key, file, metadata.Chunks)
p := initDownload(metadata.ID, globals.Config.Server, key, file, metadata.Chunks)
p.UnformattedEndpoint = endpoints.DownloadVaultFileData
return p, nil
}
Expand Down

0 comments on commit 27defa2

Please sign in to comment.