fix: update bytes import and fix data_path field references
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -6,7 +6,6 @@ use axum::{
|
||||
};
|
||||
use log::warn;
|
||||
use std::collections::HashMap;
|
||||
use bytes::Bytes;
|
||||
|
||||
use crate::services::async_item_service::AsyncItemService;
|
||||
use crate::services::error::CoreError;
|
||||
@@ -14,6 +13,7 @@ use crate::modes::server::common::{AppState, ApiResponse, ItemInfo, TagsQuery, L
|
||||
use crate::common::is_binary::is_binary;
|
||||
use tokio::io::{AsyncReadExt, AsyncSeekExt};
|
||||
use tokio_util::io::ReaderStream;
|
||||
use tokio_util::bytes::Bytes;
|
||||
|
||||
#[utoipa::path(
|
||||
get,
|
||||
|
||||
Reference in New Issue
Block a user