From 63db335123d8dde1c4e701668c07805094ff88e8 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 24 May 2018 01:31:44 -0700 Subject: WIP on API spec improvements Fixes a bunch of i64/i32/isize stuff --- rust/fatcat-api/src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rust/fatcat-api/src/lib.rs') diff --git a/rust/fatcat-api/src/lib.rs b/rust/fatcat-api/src/lib.rs index abd68f04..94633e00 100644 --- a/rust/fatcat-api/src/lib.rs +++ b/rust/fatcat-api/src/lib.rs @@ -268,9 +268,9 @@ pub trait Api { fn creator_post(&self, body: models::CreatorEntity, context: &Context) -> Box + Send>; - fn editgroup_id_accept_post(&self, id: i32, context: &Context) -> Box + Send>; + fn editgroup_id_accept_post(&self, id: i64, context: &Context) -> Box + Send>; - fn editgroup_id_get(&self, id: i32, context: &Context) -> Box + Send>; + fn editgroup_id_get(&self, id: i64, context: &Context) -> Box + Send>; fn editgroup_post(&self, body: models::Editgroup, context: &Context) -> Box + Send>; @@ -309,9 +309,9 @@ pub trait ApiNoContext { fn creator_post(&self, body: models::CreatorEntity) -> Box + Send>; - fn editgroup_id_accept_post(&self, id: i32) -> Box + Send>; + fn editgroup_id_accept_post(&self, id: i64) -> Box + Send>; - fn editgroup_id_get(&self, id: i32) -> Box + Send>; + fn editgroup_id_get(&self, id: i64) -> Box + Send>; fn editgroup_post(&self, body: models::Editgroup) -> Box + Send>; @@ -376,11 +376,11 @@ impl<'a, T: Api> ApiNoContext for ContextWrapper<'a, T> { self.api().creator_post(body, &self.context()) } - fn editgroup_id_accept_post(&self, id: i32) -> Box + Send> { + fn editgroup_id_accept_post(&self, id: i64) -> Box + Send> { self.api().editgroup_id_accept_post(id, &self.context()) } - fn editgroup_id_get(&self, id: i32) -> Box + Send> { + fn editgroup_id_get(&self, id: i64) -> Box + Send> { self.api().editgroup_id_get(id, &self.context()) } -- cgit v1.2.3