diff options
author | emkael <emkael@tlen.pl> | 2020-01-10 22:42:36 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-01-10 22:42:36 +0100 |
commit | 63fca7536a331b41d593c3ee7e40fa5999be94ed (patch) | |
tree | 651f881f07887f1aa69fc4525690bca259925591 /http/api.php | |
parent | fc6a2893e4e9d87d4752adba7675628a6152823a (diff) |
Legacy API call for 2018 calculator + new calculator with current API
Fixes #3
Diffstat (limited to 'http/api.php')
-rw-r--r-- | http/api.php | 2 |
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']; |