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
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments