File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,11 @@ where
92
92
type Rejection = ApiEngineError ;
93
93
94
94
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
96
97
if let Some ( wallet_token) = parts
97
98
. headers
98
- . get ( "x-wallet-token" )
99
+ . get ( "x-wallet-access- token" )
99
100
. and_then ( |v| v. to_str ( ) . ok ( ) )
100
101
{
101
102
// Extract ThirdwebAuth for billing purposes
Original file line number Diff line number Diff line change @@ -459,11 +459,6 @@ impl IAWClient {
459
459
460
460
// Parse the response
461
461
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
- ) ;
467
462
468
463
// Extract just the signature as requested
469
464
let signature = signed_response
You can’t perform that action at this time.
0 commit comments