Moved task routes into base labthing

This commit is contained in:
Joel Collins 2019-12-18 14:56:45 +00:00
parent f2af359b8b
commit 1047257242
21 changed files with 123 additions and 1481 deletions

View file

@ -39,7 +39,7 @@ def plugins_representation(plugin_dict):
for view_id, view_data in plugin.views.items():
logging.debug(f"Representing view {view_id}")
uri = url_for(f"pluginlistresource") + "/" + view_data["rule"][1:]
uri = url_for(f"PluginListResource") + "/" + view_data["rule"][1:]
# uri = view_data["rule"]
# Make links dictionary if it doesn't yet exist
view_d = {"links": {"self": uri}}