Skip to content

Commit 1886698

Browse files
cleanup
1 parent 8573afb commit 1886698

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

server/src/http/extractors.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@ where
9292
type Rejection = ApiEngineError;
9393

9494
async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> {
95-
// Check for IAW credentials first (x-wallet-token)
95+
// Check for IAW credentials first (x-wallet-access-token)
96+
// TODO: this will be deprecated in the future, we should use x-vault-access-token instead for all wallets
9697
if let Some(wallet_token) = parts
9798
.headers
98-
.get("x-wallet-token")
99+
.get("x-wallet-access-token")
99100
.and_then(|v| v.to_str().ok())
100101
{
101102
// Extract ThirdwebAuth for billing purposes

thirdweb-core/src/iaw/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,6 @@ impl IAWClient {
459459

460460
// Parse the response
461461
let signed_response: serde_json::Value = response.json().await?;
462-
463-
tracing::warn!(
464-
signed_response = serde_json::to_string(&signed_response).unwrap(),
465-
"Signed response"
466-
);
467462

468463
// Extract just the signature as requested
469464
let signature = signed_response

0 commit comments

Comments
 (0)