tests
This commit is contained in:
@@ -16,7 +16,7 @@ impl From<reqwest::Error> for FetchError {
|
||||
|
||||
#[instrument]
|
||||
pub async fn fetch_cv_data_from_backend(backend_host: &String, person_name: &String, client: &Client) -> Result<CV, FetchError> {
|
||||
let url = format!("{}/{}/{}", backend_host, "/api/v1/cv", person_name);
|
||||
let url = format!("{}/{}/{}", backend_host, "api/v1/cv", person_name);
|
||||
debug!("Fetching CV data from backend: {}", url);
|
||||
let resp = client
|
||||
.get(url).send()
|
||||
|
||||
Reference in New Issue
Block a user