Skip to content

Commit 391e0a9

Browse files
dbnicholsonalexlarsson
authored andcommitted
repo: Don't repeat repo config lookup
This was already determined above and nothing would have caused it to change.
1 parent 5701c61 commit 391e0a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,6 @@ fn handle_repo(config: Data<Config>,
433433
}
434434

435435
if let Some(commit) = get_commit_for_file (&path) {
436-
let repo = req.match_info().query("repo");
437-
let repoconfig = config.get_repoconfig(&repo)?;
438436
verify_repo_token(&req, commit, repoconfig, &path)?;
439437
}
440438

0 commit comments

Comments
 (0)