fix
This commit is contained in:
@@ -108,6 +108,11 @@ class AgentsService {
|
||||
);
|
||||
return response.data.data;
|
||||
}
|
||||
|
||||
async getAgentTypes(): Promise<AgentType[]> {
|
||||
const response = await api.get<ApiResponse<AgentType[]>>('/agent-types');
|
||||
return response.data.data;
|
||||
}
|
||||
}
|
||||
|
||||
export const agentsService = new AgentsService();
|
||||
|
||||
Reference in New Issue
Block a user