Modified agent route to match backend calls

This commit is contained in:
Franklin 2023-04-25 09:23:08 -04:00
parent 71ec8e2234
commit 674efe4330

View File

@ -111,7 +111,7 @@ pub async fn get_agent_with_id(id: &Uuid) -> Result<Agent, err::Error> {
perform_request_without_client::<String, Agent>( perform_request_without_client::<String, Agent>(
BASE_URL.into(), BASE_URL.into(),
Method::GET, Method::GET,
format!("read/agent/{id}"), format!("read/agent/uid/{id}"),
None, None,
200, 200,
Vec::new(), Vec::new(),