mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-26 08:24:00 +08:00
Small fix
This commit is contained in:
parent
88c69cc9d5
commit
a57e60ee4c
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ class InternalController extends ApiController {
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
*/
|
*/
|
||||||
public function getAppVersion() {
|
public function getAppVersion() {
|
||||||
return new JSONResponse(array('version' => \OC_App::getAppVersion('passman')));
|
$app = new \OC_App();
|
||||||
|
return new JSONResponse(array('version' => $app->getAppVersion('passman')));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue