diff options
author | iximeow <me@iximeow.net> | 2023-07-04 01:58:27 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-07-04 01:58:27 -0700 |
commit | 115746b22ff8390495cda5e6677d29b13d8b9f77 (patch) | |
tree | cd8efec3ebb32071f7005951a58b5e6130f91116 /src | |
parent | 3a3a8ba8b773d36a0b3c8208e37928e3c6dbe696 (diff) |
fix type's
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 0e94b96..8afda71 100644 --- a/src/main.rs +++ b/src/main.rs @@ -721,7 +721,7 @@ async fn handle_repo_summary(Path(path): Path<String>, State(ctx): State<Webserv let mut last_builds = Vec::new(); - let (repo_id, repo_name, default_run_preference): (u64, String) = match ctx.dbctx.conn.lock().unwrap() + let (repo_id, repo_name, default_run_preference): (u64, String, Option<String>) = match ctx.dbctx.conn.lock().unwrap() .query_row("select id, repo_name, default_run_preference from repos where repo_name=?1;", [&path], |row| Ok((row.get(0).unwrap(), row.get(1).unwrap(), row.get(2).unwrap()))) .optional() .unwrap() { |