summaryrefslogtreecommitdiff
path: root/src/dbctx.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-07-04 10:28:05 -0700
committeriximeow <me@iximeow.net>2023-07-04 10:28:05 -0700
commit6935d9f34f6475e6f294fce0bb6fd684440e4696 (patch)
tree4571bdf9c9473a2c328a2abfcf13e01e1ef113cb /src/dbctx.rs
parent26c321e49382be7f0bdc64696192b3958487e303 (diff)
actually run spawned task to get clients jobs
Diffstat (limited to 'src/dbctx.rs')
-rw-r--r--src/dbctx.rs2
1 files changed, 1 insertions, 1 deletions
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<Option<Remote>, 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 {