Skip to content

Commit

Permalink
Fix all_apps route
Browse files Browse the repository at this point in the history
  • Loading branch information
nythepegasus committed Sep 12, 2024
1 parent 7414ea9 commit 5b202e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SideJITServer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!"}
Expand Down

0 comments on commit 5b202e9

Please sign in to comment.