Skip to content

Commit

Permalink
Updated api/version endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Zoubek authored and ondratu committed Apr 14, 2022
1 parent 479dee2 commit cc74860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prusa/link/web/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ def api_version(req):
"""Return api version"""
prusa_link = app.daemon.prusa_link
retval = {
'api': "2.0.0",
'api': "0.9.0-legacy",
'server': __version__,
'original': f"PrusaLink {prusa_link.printer.type.name}",
'text': "OctoPrint 1.1.0",
'text': f"PrusaLink {__version__}",
'firmware': prusa_link.printer.firmware,
'sdk': sdk_version,
'hostname': gethostname()
Expand Down

0 comments on commit cc74860

Please sign in to comment.