Mocks API Version 1.0 and 1.1
Change-Id: Ic125455e6690343f296c82a2373a9a7f8c5ce86d
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm
index 0914943..34c7408 100644
--- a/lib/Kalamar.pm
+++ b/lib/Kalamar.pm
@@ -196,7 +196,7 @@
# API is not yet set - define the default Kustvakt api endpoint
$conf->{api_path} //= $ENV{KALAMAR_API} || 'https://korap.ids-mannheim.de/api/';
- $conf->{api_version} //= $API_VERSION;
+ $conf->{api_version} //= $ENV{KALAMAR_API_VERSION} || $API_VERSION;
# Add development path
if ($self->mode eq 'development') {