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:
parent
3c2f4d1eec
commit
102264c4be
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue