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.

396 B
Raw Blame
pub mod create;
pub mod get;
pub mod patch;
pub mod remove;

// organization invitation delete
pub async fn delete_organization_invitation(
    db: sqlx::Pool<sqlx::Postgres>,
    email: &str,
) -> anyhow::Result<()> {
    sqlx::query!(
        r#"
        DELETE FROM "OrganizationInvitation"
        WHERE email = $1
        "#,
        email
    )
    .execute(&db)
    .await?;

    Ok(())
}