src/server/rest.rs: rename get_request_parameters_async to get_request_parameters
This commit is contained in:
parent
75a5a68944
commit
2bbd835b9b
|
@ -149,7 +149,7 @@ impl tower_service::Service<Request<Body>> for ApiService {
|
|||
}
|
||||
}
|
||||
|
||||
async fn get_request_parameters_async<S: 'static + BuildHasher + Send>(
|
||||
async fn get_request_parameters<S: 'static + BuildHasher + Send>(
|
||||
param_schema: &ObjectSchema,
|
||||
parts: Parts,
|
||||
req_body: Body,
|
||||
|
@ -267,7 +267,7 @@ pub async fn handle_sync_api_request<Env: RpcEnvironment, S: 'static + BuildHash
|
|||
ApiHandler::Sync(handler) => handler,
|
||||
};
|
||||
|
||||
let params = get_request_parameters_async(info.parameters, parts, req_body, uri_param).await?;
|
||||
let params = get_request_parameters(info.parameters, parts, req_body, uri_param).await?;
|
||||
|
||||
let delay_unauth_time = std::time::Instant::now() + std::time::Duration::from_millis(3000);
|
||||
|
||||
|
|
Loading…
Reference in New Issue