Skip to content

Commit

Permalink
Use wirecloud.platform.__application_mashup_version__ to create the a…
Browse files Browse the repository at this point in the history
…pi documentation link. Fix #309
  • Loading branch information
aarranz committed Oct 30, 2017
1 parent 71acc6e commit 88f75aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wirecloud/platform/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def version_entry(request):
"version": wirecloud.platform.__version__,
"uptime": "%d d, %d h, %d m, %d s" % (td.days, td.seconds // 3600, (td.seconds // 60) % 60, td.seconds % 60),
"version_hash": get_version_hash(),
"doc": "http://fiware.github.io/apps.Wirecloud/restapi/v2.2/",
"doc": "http://fiware.github.io/apps.Wirecloud/restapi/v%s/" % wirecloud.platform.__application_mashup_version__,
"git_hash": wirecloud.platform.__git_hash__,
"git_dirty": wirecloud.platform.__git_dirty__,
"release_date": wirecloud.platform.__release_date__,
Expand Down

0 comments on commit 88f75aa

Please sign in to comment.