@@ -52,7 +52,7 @@ pub(crate) struct AuthApiInfoResponse {
5252 pub kms_contract_addr : String ,
5353 pub gateway_app_id : String ,
5454 pub chain_id : u64 ,
55- pub app_auth_implementation : String ,
55+ pub app_implementation : String ,
5656}
5757
5858#[ derive( Debug , Serialize , Deserialize ) ]
@@ -62,7 +62,7 @@ pub(crate) struct GetInfoResponse {
6262 pub gateway_app_id : Option < String > ,
6363 pub kms_contract_address : Option < String > ,
6464 pub chain_id : Option < u64 > ,
65- pub app_auth_implementation : Option < String > ,
65+ pub app_implementation : Option < String > ,
6666}
6767
6868impl AuthApi {
@@ -97,7 +97,7 @@ impl AuthApi {
9797 kms_contract_address : None ,
9898 gateway_app_id : Some ( dev. gateway_app_id . clone ( ) ) ,
9999 chain_id : None ,
100- app_auth_implementation : None ,
100+ app_implementation : None ,
101101 } ) ,
102102 AuthApi :: Webhook { webhook } => {
103103 let client = reqwest:: Client :: new ( ) ;
@@ -109,7 +109,7 @@ impl AuthApi {
109109 kms_contract_address : Some ( info. kms_contract_addr . clone ( ) ) ,
110110 chain_id : Some ( info. chain_id ) ,
111111 gateway_app_id : Some ( info. gateway_app_id . clone ( ) ) ,
112- app_auth_implementation : Some ( info. app_auth_implementation . clone ( ) ) ,
112+ app_implementation : Some ( info. app_implementation . clone ( ) ) ,
113113 } )
114114 }
115115 }
0 commit comments