diff --git a/src/services/async_item_service.rs b/src/services/async_item_service.rs index 2aecc6c..cbd32c4 100644 --- a/src/services/async_item_service.rs +++ b/src/services/async_item_service.rs @@ -307,15 +307,7 @@ impl AsyncItemService { pub async fn get_item_content_info_streaming( &self, item_id: i64, - head_bytes: Option, - head_words: Option, - head_lines: Option, - tail_bytes: Option, - tail_words: Option, - tail_lines: Option, - line_start: Option, - line_end: Option, - grep: Option, + filter: Option, ) -> Result<(Box, String, bool), CoreError> { let db = self.db.clone(); let item_service = self.item_service.clone(); @@ -325,7 +317,7 @@ impl AsyncItemService { item_service.get_item_content_info_streaming( &conn, item_id, - None + filter ) }) .await