Skip to content

Commit f2ff68f

Browse files
committed
Reverting default service version in class ServiceFactory for URL to 5.0 because the current production host api.nameapi.org does not offer th v5.3 yet, only the rc53-api.nameapi.org does. To set a non-default host or version see the PersonRiskDetectorServiceTest for an example.
1 parent c8eed8d commit f2ff68f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/nameapi/client/services/ServiceFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function __construct($apiKey, Context $context, Host $host=null, $apiVers
8181
$this->host = $host;
8282
}
8383
if ($apiVersion==null) {
84-
$this->apiVersion = '5.3';
84+
$this->apiVersion = '5.0';
8585
} else {
8686
$this->apiVersion = $apiVersion;
8787
}

0 commit comments

Comments
 (0)