summaryrefslogtreecommitdiffstats
path: root/rust/src/api_wrappers.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-25 21:31:43 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-25 21:31:43 -0700
commitbe936450ac981c48b44d4d599402d4b7853129cd (patch)
treeca1630f03d880a5e7407dabaf3f0df23c52657df /rust/src/api_wrappers.rs
parentd24f2569d791fc0145639115aed4ccd6bed03466 (diff)
downloadfatcat-be936450ac981c48b44d4d599402d4b7853129cd.tar.gz
fatcat-be936450ac981c48b44d4d599402d4b7853129cd.zip
have get_editgroup take optional conn
Diffstat (limited to 'rust/src/api_wrappers.rs')
-rw-r--r--rust/src/api_wrappers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/api_wrappers.rs b/rust/src/api_wrappers.rs
index e66f3ccd..df066694 100644
--- a/rust/src/api_wrappers.rs
+++ b/rust/src/api_wrappers.rs
@@ -300,7 +300,7 @@ impl Api for Server {
id: String,
_context: &Context,
) -> Box<Future<Item = GetEditgroupResponse, Error = ApiError> + Send> {
- let ret = match self.get_editgroup_handler(&id) {
+ let ret = match self.get_editgroup_handler(&id, None) {
Ok(entity) =>
GetEditgroupResponse::FoundEntity(entity),
Err(Error(ErrorKind::Diesel(::diesel::result::Error::NotFound), _)) =>