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?
This commit is contained in:
Richard Bowman 2020-04-23 08:09:21 +01:00
parent 3c2f4d1eec
commit 102264c4be

View file

@ -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):
"""