Citycom API
This commit is contained in:
@@ -260,6 +260,10 @@ class AddressHelper
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if($hausnummer->vlan_stag != $stag) {
|
||||
$hausnummer->vlan_stag = $stag;
|
||||
$hausnummer->save();
|
||||
}
|
||||
|
||||
return $hausnummer;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class CitycomImporter {
|
||||
// get locations (Hausnummer) + Sublocations (Wohneinheiten)
|
||||
$hausnummer_found_count = 0;
|
||||
|
||||
$ccapi = new \Citycom_OanApi(CITYCOM_OAN_API_USER, CITYCOM_OAN_API_PASS);
|
||||
$ccapi = new \Citycom_OanApiClient(CITYCOM_OAN_API_USER, CITYCOM_OAN_API_PASS);
|
||||
|
||||
$locations = $ccapi->getLocations();
|
||||
if(!is_array($locations)) {
|
||||
|
||||
Reference in New Issue
Block a user