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

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