mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-18 11:44:18 +00:00
feat: complete plugin installation dialog
This commit is contained in:
@@ -24,11 +24,11 @@ import {
|
||||
AsyncTaskCreatedResp,
|
||||
ApiRespSystemInfo,
|
||||
ApiRespAsyncTasks,
|
||||
ApiRespAsyncTask,
|
||||
ApiRespUserToken,
|
||||
MarketPluginResponse,
|
||||
GetPipelineResponseData,
|
||||
GetPipelineMetadataResponseData
|
||||
GetPipelineMetadataResponseData,
|
||||
AsyncTask
|
||||
} from '@/app/infra/entities/api';
|
||||
import { notification } from 'antd';
|
||||
|
||||
@@ -391,7 +391,7 @@ class HttpClient {
|
||||
return this.get('/api/v1/system/tasks');
|
||||
}
|
||||
|
||||
public getAsyncTask(id: number): Promise<ApiRespAsyncTask> {
|
||||
public getAsyncTask(id: number): Promise<AsyncTask> {
|
||||
return this.get(`/api/v1/system/tasks/${id}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user