summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8afda71..b6e744b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -260,7 +260,6 @@ async fn process_push_event(ctx: Arc<DbCtx>, owner: String, repo: String, event:
.query_row("select default_run_preference from repos where id=?1;", [repo_id], |row| {
Ok((row.get(0)).unwrap())
})
- .optional()
.expect("can query");
let pusher_email = pusher