From 5b202e9d891f5a22d290b2832fbb6320f947df48 Mon Sep 17 00:00:00 2001 From: ny Date: Wed, 11 Sep 2024 22:31:01 -0400 Subject: [PATCH] Fix all_apps route --- SideJITServer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SideJITServer/__init__.py b/SideJITServer/__init__.py index 01e3cba..a55eb30 100644 --- a/SideJITServer/__init__.py +++ b/SideJITServer/__init__.py @@ -168,7 +168,7 @@ def do_GET(self): status_code = 511 response = {"ERROR": "Did you forget to enable the debug flag?"} else: - response = device.all_apps + response = [a.asdict() for a in device.all_apps] case [device_id, 're'] if device := get_device(device_id): device.refresh_apps() response = {"OK": "Refreshed app list!"}