We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 624f9ef commit aadc511Copy full SHA for aadc511
src/lib/services/agent-service.js
@@ -45,6 +45,6 @@ export async function saveAgent(agent) {
45
}
46
47
export async function refreshAgents() {
48
- const url = endpoints.refreshAgentsUrl;
+ const url = endpoints.agentRefreshUrl;
49
await axios.post(url);
50
src/lib/services/api-endpoints.js
@@ -21,7 +21,7 @@ export const endpoints = {
21
agentSettingUrl: `${host}/agent/settings`,
22
agentListUrl: `${host}/agents`,
23
agentDetailUrl: `${host}/agent/{id}`,
24
- refreshAgentsUrl: `${host}/refresh-agents`,
+ agentRefreshUrl: `${host}/refresh-agents`,
25
26
// router
27
routerSettingUrl: `${host}/router/settings`,
0 commit comments