Skip to content

Commit

Permalink
Fix service info
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Nov 8, 2023
1 parent e5e00cc commit 89519dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bedhost/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# for now bedstat version is hard coded
ALL_VERSIONS = {
"apiserver_version": SERVER_VERSION,
"bedhost_version": SERVER_VERSION,
"bbconf_version": bbconf_v,
"python_version": python_version(),
}
Expand Down
3 changes: 1 addition & 2 deletions bedhost/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ async def service_info():
Returns information about this service, such as versions, name, etc.
"""
all_versions = ALL_VERSIONS
service_version = all_versions["apiserver_version"]
service_version = all_versions["bedhost_version"]
all_versions.update({"openapi_version": get_openapi_version(app)})
del all_versions["apiserver_version"]
ret = {
"id": "org.bedbase.api",
"name": "BEDbase API",
Expand Down

0 comments on commit 89519dd

Please sign in to comment.