Skip to content

Commit

Permalink
fix: add missing id
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Jan 22, 2024
1 parent 9ff0404 commit 7aac1d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extras/src/visitors/send/sbom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ impl SendVisitor {

let bzip2 = name.ends_with(".bz2");

self.send(url.as_str(), data, |request| {
self.send(url.as_str(), data, |mut request| {
request = request.query(&[("id", name)]);
if bzip2 {
request.header(header::CONTENT_ENCODING, "bzip2")
} else {
Expand Down

0 comments on commit 7aac1d3

Please sign in to comment.