From fb80d1dbe88614a53b7fd4e61b08b5e1cd296c7e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 10 Jan 2019 21:39:45 -0800 Subject: WIP on annotations and changes --- rust/src/endpoint_handlers.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rust/src/endpoint_handlers.rs') diff --git a/rust/src/endpoint_handlers.rs b/rust/src/endpoint_handlers.rs index 01b5eb5c..79da2dbe 100644 --- a/rust/src/endpoint_handlers.rs +++ b/rust/src/endpoint_handlers.rs @@ -387,6 +387,8 @@ impl Server { conn: &DbConn, entity: models::Editgroup, ) -> Result { + unimplemented!() + /* let row: EditgroupRow = insert_into(editgroup::table) .values(( editgroup::editor_id.eq(FatcatId::from_str(&entity.editor_id.unwrap())?.to_uuid()), @@ -402,6 +404,7 @@ impl Server { edits: None, extra: row.extra_json, }) + */ } pub fn get_editgroup_handler( @@ -470,6 +473,9 @@ impl Server { ), }; + unimplemented!(); + // XXX: + /* let eg = Editgroup { editgroup_id: Some(uuid2fcid(&row.id)), editor_id: Some(uuid2fcid(&row.editor_id)), @@ -478,6 +484,7 @@ impl Server { extra: row.extra_json, }; Ok(eg) + */ } pub fn get_editor_handler(&self, conn: &DbConn, editor_id: FatcatId) -> Result { -- cgit v1.2.3