Commit 102264c4 authored by Richard Bowman's avatar Richard Bowman 🔬
Browse files

The "actions" endpoint shouldn't be tagged

The actions endpoint (responds only to GET, lists the actions)
is not itself an action.
The ``@tag("actions")`` causes LabThings to try to include
it as an action, which fails.
Removing the tag makes the server run again -
but maybe I've broken something else here?
parent 3c2f4d1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ def enabled_root_actions():
    return {k: v for k, v in _actions.items() if v["conditions"]}


@Tag("actions")
#@Tag("actions")
class ActionsView(View):
    def get(self):
        """