api: fix API_LEVEL
This commit is contained in:
parent
791780621b
commit
a3b5394aaf
|
@ -42,7 +42,7 @@ class API extends Handler {
|
|||
}
|
||||
|
||||
function getApiLevel() {
|
||||
$rv = array("level" => API_LEVEL);
|
||||
$rv = array("level" => self::API_LEVEL);
|
||||
print $this->wrap(self::STATUS_OK, $rv);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue