pub fn revoke_vote(user_uuid: UserUuid, post_uuid: PostUuid, conn: &PgConnection) -> BackendResult<()> {
        let x = Post::remove_upvote(user_uuid, post_uuid, conn);
        let y = Post::remove_downvote(user_uuid, post_uuid, conn);

        x?;
        y
    }
/// Remove any vote for the post
Remove any vote for the post
Remove any vote for the post
pub fn revoke_vote(user_uuid: UserUuid, post_uuid: PostUuid, conn: &PgConnection) -> BackendResult<()> {
        let x = Post::remove_upvote(user_uuid, post_uuid, conn);
        let y = Post::remove_downvote(user_uuid, post_uuid, conn);
        x?;
        y
    }
pub fn revoke_vote ( user_uuid : UserUuid , post_uuid : PostUuid , conn : & PgConnection ) -> BackendResult < ( ) > { let x = Post :: remove_upvote ( user_uuid , post_uuid , conn ) ; let y = Post :: remove_downvote ( user_uuid , post_uuid , conn ) ; x ? ; y }
Remove any vote for the post
Remove any vote for the post
user_uuid
UserUuid
post_uuid
PostUuid
conn
&PgConnection
user_uuid
UserUuid
post_uuid
PostUuid
conn
&PgConnection