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:
Andrew Phillips
2025-08-25 18:47:54 -03:00
parent 81307bfe19
commit 62844b2073
2 changed files with 18 additions and 18 deletions

View File

@@ -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,