summaryrefslogtreecommitdiffstats
path: root/src/review/approve.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/review/approve.rs')
-rw-r--r--src/review/approve.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/review/approve.rs b/src/review/approve.rs
index b62adec..0fdf2b2 100644
--- a/src/review/approve.rs
+++ b/src/review/approve.rs
@@ -72,7 +72,7 @@ pub fn approve(
let row: Option<CandidateState> = tx
.query_row(
"SELECT c.id, c.state, c.identity_hash, c.base_release_id, p.current_accepted_release_id,
- c.risk_level, b.name
+ c.risk_level, p.name
FROM candidate c JOIN pkgbase p ON p.id = c.pkgbase_id
WHERE c.id = ?1",
rusqlite::params![candidate_id],