pub async fn unvote(pool: &DBPool, user_id: i32, poll_id: i32) -> Result<()> {
        generic_service_err!(
            sqlx::query_file!("sql/poll_vote/unvote.sql", user_id, poll_id)
            .fetch_all(pool).await,
            "Failed to remove vote from poll");

        Ok(())
    }
/// Removes a user's vote from a poll
/// 
/// # Arguments
/// 
/// * `pool` - The database pool
/// * `user_id` - The ID of the user
/// * `poll_id` - The ID of the poll
Removes a user's vote from a poll
Removes a user ' s vote from a poll
pub async fn unvote(pool: &DBPool, user_id: i32, poll_id: i32) -> Result<()> {
        generic_service_err!(
            sqlx::query_file!("sql/poll_vote/unvote.sql", user_id, poll_id)
            .fetch_all(pool).await,
            "Failed to remove vote from poll");
        Ok(())
    }
pub async fn unvote ( pool : & DBPool , user_id : i32 , poll_id : i32 ) -> Result < ( ) > { generic_service_err ! ( sqlx query_file ( " " user_id poll_id ) fetch_all ( pool ) await " " ) ; Ok ( ( ) ) }
Removes a user's vote from a poll
Removes a user ' s vote from a poll
pool
&DBPool
user_id
i32
poll_id
i32
pool
&DBPool
user_id
i32
poll_id
i32