Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MuskanPaliwal committed Oct 26, 2023
1 parent fd3c27d commit 9832664
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion vibi-dpu/src/bitbucket/prs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use serde_json::Value;
use std::collections::HashMap;
use std::str;
use std::env;
use crate::client::config::get_client;
use crate::bitbucket::config::get_client;
use crate::utils::prInfo::PrInfo;
use crate::db::prs::save_pr_info_to_db;

Expand Down
3 changes: 1 addition & 2 deletions vibi-dpu/src/bitbucket/reviewer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ use crate::db::user::get_workspace_user_from_db;
use crate::utils::review::Review;
use crate::utils::user::BitbucketUser;

use super::{config::{bitbucket_base_url, prepare_headers}};
use crate::client::config::get_client;
use super::config::{bitbucket_base_url, prepare_headers, get_client};

pub async fn add_reviewers(user_key: &str, review: &Review, access_token: &str) {
let url = prepare_get_prinfo_url(review.repo_owner(), review.repo_name(), review.id());
Expand Down
11 changes: 0 additions & 11 deletions vibi-dpu/src/client/config.rs

This file was deleted.

1 change: 0 additions & 1 deletion vibi-dpu/src/client/mod.rs

This file was deleted.

3 changes: 0 additions & 3 deletions vibi-dpu/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ mod db;
mod core;
mod bitbucket;
mod utils;
mod setup;
mod github;
mod client;

#[tokio::main]
async fn main() {
Expand Down

0 comments on commit 9832664

Please sign in to comment.