mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-27 11:51:29 +01:00
Pass render purpose to render
This commit is contained in:
@@ -52,13 +52,12 @@ pub async fn render_grpc_request<R: Runtime>(
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn render_http_request<R: Runtime>(
|
||||
app_handle: &AppHandle<R>,
|
||||
pub async fn render_http_request(
|
||||
r: &HttpRequest,
|
||||
w: &Workspace,
|
||||
e: Option<&Environment>,
|
||||
cb: &PluginTemplateCallback,
|
||||
) -> HttpRequest {
|
||||
let cb = &*app_handle.state::<PluginTemplateCallback>();
|
||||
let vars = &variables_from_environment(w, e, cb).await;
|
||||
|
||||
let mut url_parameters = Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user