Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

423 B
Raw Blame
pub async fn delete_account_merge_request(
    db: &sqlx::Pool<sqlx::Postgres>,
    account_merge_request_id: &str,
) -> anyhow::Result<()> {
    let account_merge_request_id = macro_uuid::string_to_uuid(account_merge_request_id)?;

    sqlx::query!(
        r#"
        DELETE FROM "account_merge_request"
        WHERE "id" = $1
    "#,
        &account_merge_request_id
    )
    .execute(db)
    .await?;

    Ok(())
}