summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-07-04 09:32:59 -0700
committeriximeow <me@iximeow.net>2023-07-04 09:32:59 -0700
commitb0e0df89c09751cee601bd443aa4b8d46728ac99 (patch)
tree09d0c9979c0aba137b6fe2bd7489cd323cc1e94b /src
parent721f96591b037729f1a0d9ff2bb8831b81b79925 (diff)
repo row is non-optional, value in `default_run_preference` is
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