added sync method for perform_request_without_client

This commit is contained in:
Franklin 2022-09-08 13:07:19 -04:00
parent a9b5f28d3e
commit e6780761e9

View File

@ -107,7 +107,7 @@ pub async fn perform_request_without_client<B: Serialize, R: DeserializeOwned>(
}
}
/// Same as function above but blocking
pub async fn perform_request_without_client_sync<B: Serialize, R: DeserializeOwned>(
pub fn perform_request_without_client_sync<B: Serialize, R: DeserializeOwned>(
base_url: String,
method: reqwest::Method,
path: String,