Skip to content
Snippets Groups Projects
Commit aa928a4b authored by David Trattnig's avatar David Trattnig
Browse files

refact(engine_core.version): return both versions

required by engine#110
parent e613b8ce
No related branches found
No related tags found
No related merge requests found
Pipeline #2204 passed
...@@ -63,12 +63,15 @@ server.register(namespace="aura_engine", ...@@ -63,12 +63,15 @@ server.register(namespace="aura_engine",
# Get version # Get version
server.register(namespace="aura_engine", server.register(namespace="aura_engine",
description="Return the version of Engine Core", description="Return the version of Engine Core and Liquidsoap",
usage="version", usage="version",
"version", "version",
fun (s) -> begin fun (s) -> begin
ignore(s) ignore(s)
engine_version json_data = json()
json_data.add("core", engine_version)
json_data.add("liquidsoap", liquidsoap.version)
json.stringify(json_data)
end end
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment