mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 16:04:21 +00:00
feat: implement sort in plugin market
This commit is contained in:
@@ -360,13 +360,15 @@ class HttpClient {
|
||||
page: number,
|
||||
page_size: number,
|
||||
query: string,
|
||||
sort_by: string = 'stars',
|
||||
sort_order: string = 'DESC',
|
||||
): Promise<MarketPluginResponse> {
|
||||
return this.post(`/api/v1/market/plugins`, {
|
||||
page,
|
||||
page_size,
|
||||
query,
|
||||
sort_by: 'stars',
|
||||
sort_order: 'DESC',
|
||||
sort_by,
|
||||
sort_order,
|
||||
});
|
||||
}
|
||||
public installPluginFromGithub(
|
||||
|
||||
Reference in New Issue
Block a user