Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(document_storage_service): add deleted_at from query instead of forcing to None (#348)
Will Hutchinson1d1b6efe2945
diff --git a/rust/cloud-storage/macro_db_client/src/history/mod.rs b/rust/cloud-storage/macro_db_client/src/history/mod.rsindex 5646dfffaf..a7b214e95a 100644--- a/rust/cloud-storage/macro_db_client/src/history/mod.rs+++ b/rust/cloud-storage/macro_db_client/src/history/mod.rs@@ -118,7 +118,7 @@ pub async fn get_user_history(db: &Pool<Postgres>, user_id: &str) -> anyhow::Resr.name,r.created_at,r.updated_at,- None, // Will never be deleted+ r.deleted_at,r.sha,r.file_type,r.document_family_id,@@ -137,7 +137,7 @@ pub async fn get_user_history(db: &Pool<Postgres>, user_id: &str) -> anyhow::Resr.name,r.created_at,r.updated_at,- None, // Will never be deleted+ r.deleted_at,r.project_id,r.is_persistent,))),@@ -147,7 +147,7 @@ pub async fn get_user_history(db: &Pool<Postgres>, user_id: &str) -> anyhow::Resr.name,r.created_at,r.updated_at,- None, // Will never be deleted+ r.deleted_at,r.project_id,))),_ => Err(sqlx::Error::TypeNotFound {