From 13f6239a0d7b0f513e53d8ea1f203495d21e361a Mon Sep 17 00:00:00 2001 From: komal-rs Date: Tue, 11 Jun 2024 16:09:00 +0530 Subject: [PATCH] build fix --- src/utils/report.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/report.rs b/src/utils/report.rs index 82d581f7..3fbea00d 100644 --- a/src/utils/report.rs +++ b/src/utils/report.rs @@ -1,7 +1,6 @@ use std::env; use crate::consts::OFF_CHAIN_AGENT_GRPC_URL; -use crate::utils::off_chain; use leptos::{server, ServerFnError}; pub enum ReportOption { @@ -34,6 +33,7 @@ pub async fn send_report_offchain( reason: String, video_url: String, ) -> Result<(), ServerFnError> { + use crate::utils::off_chain; use tonic::metadata::MetadataValue; use tonic::transport::Channel; use tonic::Request;