@@ -21,20 +21,20 @@ public function create($exchange_id, $exchange_api_key, $exchange_secret = null,
2121 {
2222 $ params = [
2323 'url ' => $ this ->getEndPoint (),
24- 'exchange_id ' => $ exchange_id ,
25- 'exchange_api_key ' => $ exchange_api_key
24+ 'exchangeId ' => $ exchange_id ,
25+ 'exchangeApiKey ' => $ exchange_api_key
2626 ];
2727
2828 if (!is_null ($ exchange_secret )) {
29- $ params ['exchange_secret ' ] = $ exchange_secret ;
29+ $ params ['exchangeSecret ' ] = $ exchange_secret ;
3030 }
3131
3232 if (!is_null ($ exchange_password )) {
33- $ params ['exchange_password ' ] = $ exchange_password ;
33+ $ params ['exchangePassword ' ] = $ exchange_password ;
3434 }
3535
3636 if (!is_null ($ exchange_uid )) {
37- $ params ['exchange_uid ' ] = $ exchange_uid ;
37+ $ params ['exchangeUid ' ] = $ exchange_uid ;
3838 }
3939
4040 return (new Response (
@@ -90,23 +90,23 @@ public function update($account_id, $exchange_id = null, $exchange_api_key = nul
9090 $ params = [];
9191
9292 if (!is_null ($ exchange_id )) {
93- $ params ['exchange_id ' ] = $ exchange_id ;
93+ $ params ['exchangeId ' ] = $ exchange_id ;
9494 }
9595
9696 if (!is_null ($ exchange_api_key )) {
97- $ params ['exchange_api_key ' ] = $ exchange_api_key ;
97+ $ params ['exchangeApiKey ' ] = $ exchange_api_key ;
9898 }
9999
100100 if (!is_null ($ exchange_secret )) {
101- $ params ['exchange_secret ' ] = $ exchange_secret ;
101+ $ params ['exchangeSecret ' ] = $ exchange_secret ;
102102 }
103103
104104 if (!is_null ($ exchange_password )) {
105- $ params ['exchange_password ' ] = $ exchange_password ;
105+ $ params ['exchangePassword ' ] = $ exchange_password ;
106106 }
107107
108108 if (!is_null ($ exchange_uid )) {
109- $ params ['exchange_uid ' ] = $ exchange_uid ;
109+ $ params ['exchangeUid ' ] = $ exchange_uid ;
110110 }
111111
112112 return (new Response (
@@ -129,20 +129,20 @@ public function update($account_id, $exchange_id = null, $exchange_api_key = nul
129129 public function replace ($ account_id , $ exchange_id , $ exchange_api_key , $ exchange_secret = null , $ exchange_password = null , $ exchange_uid = null )
130130 {
131131 $ params = [
132- 'exchange_id ' => $ exchange_id ,
133- 'exchange_api_key ' => $ exchange_api_key
132+ 'exchangeId ' => $ exchange_id ,
133+ 'exchangeApiKey ' => $ exchange_api_key
134134 ];
135135
136136 if (!is_null ($ exchange_secret )) {
137- $ params ['exchange_secret ' ] = $ exchange_secret ;
137+ $ params ['exchangeSecret ' ] = $ exchange_secret ;
138138 }
139139
140140 if (!is_null ($ exchange_password )) {
141- $ params ['exchange_password ' ] = $ exchange_password ;
141+ $ params ['exchangePassword ' ] = $ exchange_password ;
142142 }
143143
144144 if (!is_null ($ exchange_uid )) {
145- $ params ['exchange_uid ' ] = $ exchange_uid ;
145+ $ params ['exchangeUid ' ] = $ exchange_uid ;
146146 }
147147
148148
0 commit comments