mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-18 10:26:07 +00:00
perf: add supports for showing multilingual plugin README
This commit is contained in:
@@ -61,9 +61,11 @@ export class CloudServiceClient extends BaseHttpClient {
|
||||
public getPluginREADME(
|
||||
author: string,
|
||||
pluginName: string,
|
||||
language?: string,
|
||||
): Promise<{ readme: string }> {
|
||||
return this.get<{ readme: string }>(
|
||||
`/api/v1/marketplace/plugins/${author}/${pluginName}/resources/README`,
|
||||
language ? { language } : undefined,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user