Remove remaining TODOs in favour of issues

This commit is contained in:
Julian Stirling 2025-09-18 14:09:20 +01:00
parent ef89b536fc
commit 338d49f9e6
3 changed files with 2 additions and 4 deletions

View file

@ -21,10 +21,9 @@ def add_v2_endpoints(thing_server: lt.ThingServer) -> None:
"""Add the v2 API endpoints for OpenFlexure Connect discoverability."""
app = thing_server.app
# TODO: update openflexure connect to make this unnecessary!!
# The endpoints below fool OpenFlexure Connect into thinking we are a
# v2 microscope, so we show up correctly.
# This is necessary until Connect is rebuilt.
# This is necessary until Connect is rebuilt. See #557.
@app.get("/routes")
def routes_stub() -> dict[str, dict]:
"""Return a stub list of routes.