API/getVersion: don't try to use removed VERSION constant

This commit is contained in:
Andrew Dolgov 2020-01-05 09:42:57 +03:00
parent 67c7b6ef53
commit b1c5ebdace
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class API extends Handler {
}
function getVersion() {
$rv = array("version" => VERSION);
$rv = array("version" => get_version());
$this->wrap(self::STATUS_OK, $rv);
}