Skip to content

Commit 2b3260e

Browse files
committed
Add todo note for adding failed count in future
1 parent 78d812c commit 2b3260e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/github/server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ async fn queue_handler(
133133

134134
let prs = state.db.get_nonclosed_pull_requests(&repo.name).await?;
135135

136+
// TODO: add failed count
136137
let (approved_count, rolled_up_count) = prs.iter().fold((0, 0), |(approved, rolled_up), pr| {
137138
let is_approved = if pr.is_approved() { 1 } else { 0 };
138139
let is_rolled_up = if matches!(pr.rollup, Some(RollupMode::Always)) {

0 commit comments

Comments
 (0)