address changes

This commit is contained in:
Kendall Garner 2024-02-03 21:22:03 -08:00
parent 73cd647486
commit 46cc1a635f
No known key found for this signature in database
GPG key ID: 18D2767419676C87
4 changed files with 26 additions and 14 deletions

View file

@ -954,7 +954,7 @@ const getServerInfo = async (args: ServerInfoArgs): Promise<ServerInfo> => {
const res = await jfApiClient(apiClientProps).getServerInfo();
if (res.status !== 200) {
throw new Error('Failed to get song detail');
throw new Error('Failed to get server info');
}
return { id: apiClientProps.server?.id, version: res.body.Version };

View file

@ -411,7 +411,7 @@ export const getStructuredLyrics = async (
});
if (res.status !== 200) {
throw new Error('Failed to get server extensions');
throw new Error('Failed to get structured lyrics');
}
const lyrics = res.body.lyricsList?.structuredLyrics;