summaryrefslogtreecommitdiffstats
path: root/rust/src/api_server.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-15 19:01:44 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-15 19:01:44 -0700
commitceefad3b3f3decd4087aaad8e843df3ce42f0db6 (patch)
tree5f4d573f74bf607ae38d5b9ac19c685f679765ac /rust/src/api_server.rs
parentcd214b3ecde57c891537ff27edfde18b773dfe46 (diff)
downloadfatcat-ceefad3b3f3decd4087aaad8e843df3ce42f0db6.tar.gz
fatcat-ceefad3b3f3decd4087aaad8e843df3ce42f0db6.zip
flush out more database models
Diffstat (limited to 'rust/src/api_server.rs')
-rw-r--r--rust/src/api_server.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs
index aa13023d..9fbcbc57 100644
--- a/rust/src/api_server.rs
+++ b/rust/src/api_server.rs
@@ -7,6 +7,7 @@ use database_schema::{container_rev, container_ident, container_edit,
file_rev, file_ident, file_edit,
release_rev, release_ident, release_edit,
work_rev, work_ident, work_edit,
+ editor, editgroup, changelog
};
use uuid;
use diesel::prelude::*;
@@ -88,7 +89,7 @@ impl Api for Server {
fn creator_id_get(
&self,
id: String,
- context: &Context,
+ _context: &Context,
) -> Box<Future<Item = CreatorIdGetResponse, Error = ApiError> + Send> {
let conn = self.db_pool.get().expect("db_pool error");
/*