summaryrefslogtreecommitdiff
path: root/http/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'http/api.php')
-rw-r--r--http/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/api.php b/http/api.php
index 0458831..acf2752 100644
--- a/http/api.php
+++ b/http/api.php
@@ -36,7 +36,7 @@ function run($parameters) {
$versionClasses = array(
'1' => 'ApiPklV1', // RegKlas 2018.11.01
'2' => 'ApiPklV2', // RegKMP 2020.01.01
- '_default' => 'ApiPklV1'
+ '_default' => 'ApiPklV2'
);
$version = isset($parameters['version']) ? $parameters['version'] : '_default';
$apiClass = isset($versionClasses[$version]) ? $versionClasses[$version] : $versionClasses['_default'];