From b0e0df89c09751cee601bd443aa4b8d46728ac99 Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 4 Jul 2023 09:32:59 -0700 Subject: repo row is non-optional, value in `default_run_preference` is --- src/main.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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, 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 -- cgit v1.1