api/core: move friendly name map to server info

This commit is contained in:
wukko
2024-09-01 16:02:06 +06:00
parent 805e5d42c0
commit d9925f2233
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
import { getVersion } from "@imput/version-info";
import { services } from "./processing/service-config.js";
import { friendlyServiceName } from "./processing/service-alias.js";
const version = await getVersion();
@@ -9,8 +8,6 @@ const enabledServices = new Set(Object.keys(services).filter(e => {
if (!disabledServices.includes(e)) {
return e;
}
}).map(e => {
return friendlyServiceName(e);
}));
const env = {