aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/api_server.rs6
-rw-r--r--rust/src/database_models.rs2
2 files changed, 6 insertions, 2 deletions
diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs
index 8364ec8c..a2e133fe 100644
--- a/rust/src/api_server.rs
+++ b/rust/src/api_server.rs
@@ -305,6 +305,8 @@ impl Server {
issue: rev.issue,
container_id: rev.container_ident_id.map(|u| u.to_string()),
work_id: rev.work_ident_id.to_string(),
+ refs: None,
+ contribs: None,
state: Some(ident.state().unwrap().shortname()),
ident: Some(ident.id.to_string()),
revision: ident.rev_id,
@@ -341,6 +343,8 @@ impl Server {
issue: rev.issue,
container_id: rev.container_ident_id.map(|u| u.to_string()),
work_id: rev.work_ident_id.to_string(),
+ refs: None,
+ contribs: None,
state: Some(ident.state().unwrap().shortname()),
ident: Some(ident.id.to_string()),
revision: ident.rev_id,
@@ -360,6 +364,7 @@ impl Server {
id: Some(row.id),
editor_id: row.editor_id,
description: row.description,
+ edits: None,
extra: row.extra_json,
};
Ok(Some(eg))
@@ -716,6 +721,7 @@ impl Api for Server {
id: Some(row.id),
editor_id: row.editor_id,
description: row.description,
+ edits: None,
extra: row.extra_json,
};
Box::new(futures::done(Ok(
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs
index aaf21ce0..5e4e9710 100644
--- a/rust/src/database_models.rs
+++ b/rust/src/database_models.rs
@@ -167,7 +167,6 @@ pub struct ReleaseRefRow {
stub: Option<String>,
}
-/*
#[derive(Debug, Queryable, Identifiable, Associations, AsChangeset)]
#[table_name = "file_release"]
pub struct FileReleaseRow {
@@ -175,7 +174,6 @@ pub struct FileReleaseRow {
file_rev: i64,
target_release_ident_id: Uuid,
}
-*/
#[derive(Debug, Queryable, Identifiable, Associations, AsChangeset)]
#[table_name = "editgroup"]