From bdbe02104b64d1688ca91d25c645cab8bc82f692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 15 Mar 2024 14:36:08 +0000 Subject: [PATCH] Update from code review --- web/src/client/manager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/client/manager.js b/web/src/client/manager.js index a96ae9e284..f3915b4d8b 100644 --- a/web/src/client/manager.js +++ b/web/src/client/manager.js @@ -24,6 +24,7 @@ import { WithProgress, WithStatus } from "./mixins"; const MANAGER_PATH = "/org/opensuse/Agama/Manager1"; +const MANAGER_SERVICE = "org.opensuse.Agama.Manager1"; /** * Manager base client @@ -129,7 +130,7 @@ class ManagerBaseClient { * Client to interact with the Agama manager service */ class ManagerClient extends WithProgress( - WithStatus(ManagerBaseClient, "/manager/status", "org.opensuse.Agama.Manager1"), + WithStatus(ManagerBaseClient, "/manager/status", MANAGER_SERVICE), MANAGER_PATH, ) {}