Skip to content

Commit

Permalink
Set X-Spiferack header (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelemin authored Jan 9, 2025
1 parent b796214 commit 843df0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/plaid/src/apis/npm/npm_web_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ impl Npm {
NPMJS_COM_URL, self.config.npm_scope, team, user
))
.header("Content-Type", "text/plain;charset=UTF-8")
.header("X-Spiferack", "1")
.body(body)
.send()
.await
Expand Down Expand Up @@ -665,6 +666,7 @@ impl Npm {
"{}/settings/{}/members/{}/delete",
NPMJS_COM_URL, self.config.npm_scope, user
))
.header("X-Spiferack", "1")
.json(&payload)
.send()
.await
Expand Down

0 comments on commit 843df0e

Please sign in to comment.