Skip to content

Commit

Permalink
Removed old custom root links
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Mar 9, 2020
1 parent 42ab04b commit 3a07e05
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions labthings/server/labthing.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ def __init__(

self.views = []

self.custom_root_links = {}

self.endpoints = set()

self.url_prefix = prefix
Expand Down Expand Up @@ -287,7 +285,6 @@ def add_root_link(self, view, rel, kwargs=None, params=None):
kwargs = {}
if params is None:
params = {}
self.custom_root_links[rel] = (view, params)
self.thing_description.add_link(view, rel, kwargs=kwargs, params=params)

# Description
Expand Down

0 comments on commit 3a07e05

Please sign in to comment.