Implement batch_store endpoint for Issue #12

This commit is contained in:
Agent Zero
2026-03-19 15:59:34 +00:00
parent 403b95229e
commit 03e8f246d1
3 changed files with 4 additions and 17 deletions

View File

@@ -9,6 +9,8 @@ use tokio_postgres::NoTls;
use tracing::info;
use uuid::Uuid;
use serde::Serialize;
use serde_json::Value;
use crate::config::DatabaseConfig;
/// Database wrapper with connection pool
@@ -177,7 +179,7 @@ impl Database {
/// Result for a single batch entry
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Serialize)]
pub struct BatchStoreResult {
pub id: String,
pub status: String,