diff options
author | iximeow <me@iximeow.net> | 2023-07-04 09:32:59 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-07-04 09:32:59 -0700 |
commit | b0e0df89c09751cee601bd443aa4b8d46728ac99 (patch) | |
tree | 09d0c9979c0aba137b6fe2bd7489cd323cc1e94b | |
parent | 721f96591b037729f1a0d9ff2bb8831b81b79925 (diff) |
repo row is non-optional, value in `default_run_preference` is
-rw-r--r-- | src/main.rs | 1 |
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 |