This commit is contained in:
Torsten Dittmann
2024-02-26 14:00:01 +01:00
parent f234f82e8c
commit 79d85d6aa2
2 changed files with 12 additions and 3 deletions

View File

@@ -223,11 +223,10 @@ export async function getService(
const isAndroid = isAndroidJava || isAndroidKotlin;
const isAndroidServer = platform === Platform.ServerJava || platform === Platform.ServerKotlin;
const api = await getApi(version, platform);
const tag = api.tags?.find((n) => n.name === service);
const data: Awaited<ReturnType<typeof getService>> = {
service: {
name: tag?.name as Service,
name: service as Service,
description: await getDescription(service)
},
methods: []