pub async fn prune_password_resets(pool: &DBPool) -> Result<()> {
        generic_service_err!(
            sqlx::query_file!("sql/password_reset/prune_password_resets.sql")
            .fetch_all(pool).await,
            "Failed to prune password reset records");

        Ok(())
    }
/// Prunes all old password reset records
/// 
/// # Arguments
/// 
/// * `pool` - The database pool
Prunes all old password reset records
Prunes all old password reset records
pub async fn prune_password_resets(pool: &DBPool) -> Result<()> {
        generic_service_err!(
            sqlx::query_file!("sql/password_reset/prune_password_resets.sql")
            .fetch_all(pool).await,
            "Failed to prune password reset records");
        Ok(())
    }
pub async fn prune_password_resets ( pool : & DBPool ) -> Result < ( ) > { generic_service_err ! ( sqlx query_file ( " " ) fetch_all ( pool ) await " " ) ; Ok ( ( ) ) }
Prunes all old password reset records
Prunes all old password reset records
pool
&DBPool
pool
&DBPool