This commit is contained in:
2023-12-03 19:13:02 +01:00
parent 382e43b55f
commit 503c674d5e
5 changed files with 389 additions and 30 deletions

View File

@@ -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()