mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 17:58:24 -04:00
Bug fix for mis-spelled func names.
This commit is contained in:
@@ -173,7 +173,7 @@ def register_errorhandlers(application):
|
|||||||
application.errorhandler(errcode)(render_error)
|
application.errorhandler(errcode)(render_error)
|
||||||
|
|
||||||
|
|
||||||
def get_api_version():
|
def get_app_version():
|
||||||
build = 'n/a'
|
build = 'n/a'
|
||||||
build_time = "n/a"
|
build_time = "n/a"
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ def status():
|
|||||||
api_status = status_api_client.get_status()
|
api_status = status_api_client.get_status()
|
||||||
except:
|
except:
|
||||||
api_status = 'n/a'
|
api_status = 'n/a'
|
||||||
build, build_time = get_api_version()
|
build, build_time = get_app_version()
|
||||||
return jsonify(status="ok",
|
return jsonify(status="ok",
|
||||||
app_version=get_app_version(),
|
app_version=get_app_version(),
|
||||||
api_build=build,
|
api_build=build,
|
||||||
|
|||||||
Reference in New Issue
Block a user