From 6935d9f34f6475e6f294fce0bb6fd684440e4696 Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 4 Jul 2023 10:28:05 -0700 Subject: actually run spawned task to get clients jobs --- src/dbctx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dbctx.rs') diff --git a/src/dbctx.rs b/src/dbctx.rs index 4734229..ae06d21 100644 --- a/src/dbctx.rs +++ b/src/dbctx.rs @@ -292,7 +292,7 @@ impl DbCtx { pub fn remote_by_id(&self, id: u64) -> Result, String> { self.conn.lock() .unwrap() - .query_row("select * from remotes where id=?1", [id], |row| { + .query_row("select id, repo_id, remote_path, remote_api, remote_url, remote_git_url, notifier_config_path from remotes where id=?1", [id], |row| { let (id, repo_id, remote_path, remote_api, remote_url, remote_git_url, notifier_config_path) = row.try_into().unwrap(); Ok(Remote { -- cgit v1.1