@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $ipInfo = array(); |
63 | 63 | $ipInfo["IP"] = $this->di->get("request")->getPost("ip") ?? $ipAdress; |
64 | 64 | $array = []; |
65 | - $apiEx = $this->di->get("ExternalApi"); |
|
65 | + $apiEx = $this->di->get("ExternalApi"); |
|
66 | 66 | $res = $apiEx->validateipActionGet($ipInfo["IP"], $keykey); |
67 | 67 | |
68 | 68 | $obj = json_decode($res); |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | $darkSkyKey = $this->di->get("apikeyDarkSky"); |
133 | 133 | |
134 | 134 | $array = []; |
135 | - $apiEx = $this->di->get("ExternalApi"); |
|
135 | + $apiEx = $this->di->get("ExternalApi"); |
|
136 | 136 | $res = $apiEx->validateipActionGet($ipInfo["IP"], $keykey); |
137 | 137 | |
138 | 138 |
@@ -87,7 +87,7 @@ |
||
87 | 87 | // $ipInfo["IP"] = $ipAdress; |
88 | 88 | // } |
89 | 89 | $ipInfo["IP"] = $this->di->get("request")->getGet("ip") ?? $ipAdress; |
90 | - $apiEx = $this->di->get("ExternalApi"); |
|
90 | + $apiEx = $this->di->get("ExternalApi"); |
|
91 | 91 | $res = $apiEx->validateipActionGet($ipInfo["IP"], $keykey); |
92 | 92 | |
93 | 93 | $obj = json_decode($res); |