Skip to content

Commit c2b14dc

Browse files
authored
Update agent-service.js
Fix refresh agent
1 parent 3a7b02e commit c2b14dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/services/agent-service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export async function deleteAgent(agentId) {
7777
*/
7878
export async function refreshAgents() {
7979
const url = endpoints.agentRefreshUrl;
80-
const response = await axios.post(url);
80+
const response = await axios.post(url, {});
8181
return response.data;
8282
}
8383

@@ -120,4 +120,4 @@ export async function getAgentLabels() {
120120
const url = endpoints.agentLabelsUrl;
121121
const response = await axios.get(url);
122122
return response.data;
123-
}
123+
}

0 commit comments

Comments
 (0)