api: show version in info table (#135)

Include the api_version in the info table so it can be displayed in 
System card on newui.
This commit is contained in:
Steve AB7PA 2021-07-18 19:21:12 -07:00 committed by GitHub
parent db61c1181d
commit a3e33a2f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ os.capture = capture
function getSysinfo()
local info={}
info['api_version']=API_VERSION
info['node']=aredn_info.getNodeName()
info['description']=aredn_info.getNodeDescription()
info['firmware_version']=aredn_info.getFirmwareVersion()