summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/services/api/graphql/recipes/queries/system_status.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/services/api/graphql/recipes/queries/system_status.py b/src/services/api/graphql/recipes/queries/system_status.py
index 4a4d9871c..00c137443 100755
--- a/src/services/api/graphql/recipes/queries/system_status.py
+++ b/src/services/api/graphql/recipes/queries/system_status.py
@@ -33,13 +33,13 @@ def load_as_module(name: str):
return mod
def get_system_version() -> dict:
- show_version = load_as_module('show_version.py')
- return show_version.get_raw_data()
+ show_version = load_as_module('version.py')
+ return show_version.show(raw=True, funny=False)
def get_system_uptime() -> dict:
show_uptime = load_as_module('show_uptime.py')
return show_uptime.get_raw_data()
def get_system_ram_usage() -> dict:
- show_ram = load_as_module('show_ram.py')
- return show_ram.get_raw_data()
+ show_ram = load_as_module('memory.py')
+ return show_ram.show(raw=True)