mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05: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)
|
||||
|
||||
|
||||
def get_api_version():
|
||||
def get_app_version():
|
||||
build = 'n/a'
|
||||
build_time = "n/a"
|
||||
try:
|
||||
|
||||
@@ -11,7 +11,7 @@ def status():
|
||||
api_status = status_api_client.get_status()
|
||||
except:
|
||||
api_status = 'n/a'
|
||||
build, build_time = get_api_version()
|
||||
build, build_time = get_app_version()
|
||||
return jsonify(status="ok",
|
||||
app_version=get_app_version(),
|
||||
api_build=build,
|
||||
|
||||
Reference in New Issue
Block a user