Fix: Remove Application class references, use string literals for app ID and version
This commit is contained in:
@@ -9,7 +9,6 @@ use OCP\IResponse;
|
||||
use OCP\AppFramework\Http;
|
||||
use OCP\AppFramework\Http\DataResponse;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
use OCA\AnalyticsHub\AppInfo\Application;
|
||||
|
||||
use OCA\AnalyticsHub\Service\GoogleAnalyticsService;
|
||||
use OCA\AnalyticsHub\Service\LLMService;
|
||||
@@ -147,7 +146,7 @@ class ApiV1Controller {
|
||||
$this->validateAgentAccess();
|
||||
|
||||
$status = [
|
||||
'app_name' => Application::APP_NAME,
|
||||
'app_name' => 'analyticshub',
|
||||
'version' => AppInfo::getVersion(),
|
||||
'status' => 'operational',
|
||||
'google_analytics' => $this->gaService->isConfigured() ? 'configured' : 'not_configured',
|
||||
|
||||
Reference in New Issue
Block a user