From 580f6d72c191e7507f373c4915afc9e1c9a6a0af Mon Sep 17 00:00:00 2001 From: Eliot Eikenberry Date: Fri, 16 Aug 2024 11:15:17 -0700 Subject: [PATCH] fix: relied on vscode to much to catch this (#30) Co-authored-by: Wolftousen --- src/helpers/loki.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/loki.rs b/src/helpers/loki.rs index 231c211..682d63f 100644 --- a/src/helpers/loki.rs +++ b/src/helpers/loki.rs @@ -261,7 +261,7 @@ async fn sort_deploy_data(data: QueryResponse) -> HashMap { if wf.workflow_id.is_some() { - wf_url = d.url.replace("api.", "").replace("repos/", "").replace("deployments/", "actions/runs/").replace(d.id.to_string().as_str(), wf.workflow_id.to_string().as_str()); + wf_url = d.url.replace("api.", "").replace("repos/", "").replace("deployments/", "actions/runs/").replace(d.id.to_string().as_str(), wf.workflow_id.unwrap().to_string().as_str()); } else if wf.url.is_some() { wf_url = wf.url.unwrap().replace("api.", "").replace("repos/", ""); }