Sfoglia il codice sorgente

prioritization module is now agenda

Santiago Pastorino 4 anni fa
parent
commit
d2507beab0
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 0 0
      src/agenda.rs
  2. 2 2
      src/bin/prioritization.rs
  3. 1 1
      src/lib.rs

+ 0 - 0
src/prioritization.rs → src/agenda.rs


+ 2 - 2
src/bin/prioritization.rs

@@ -1,11 +1,11 @@
-use triagebot::{logger, prioritization};
+use triagebot::{agenda, logger};
 
 #[tokio::main]
 async fn main() {
     dotenv::dotenv().ok();
     logger::init();
 
-    let agenda = prioritization::prepare_agenda();
+    let agenda = agenda::prepare_agenda();
 
     print!("{}", agenda.call().await);
 }

+ 1 - 1
src/lib.rs

@@ -9,6 +9,7 @@ use interactions::ErrorComment;
 use std::fmt;
 
 pub mod actions;
+pub mod agenda;
 pub mod config;
 pub mod db;
 pub mod github;
@@ -17,7 +18,6 @@ pub mod interactions;
 pub mod logger;
 pub mod notification_listing;
 pub mod payload;
-pub mod prioritization;
 pub mod team;
 mod team_data;
 pub mod zulip;