diff --git a/src/nextcloud/client.rs b/src/nextcloud/client.rs index 64952ea..78b42e4 100644 --- a/src/nextcloud/client.rs +++ b/src/nextcloud/client.rs @@ -91,24 +91,6 @@ impl<'ctx> DeckClient<'ctx> { self.request("boards", |net, url| net.get(url)).await } - pub(crate) async fn get_board(&self, board_id: NextcloudBoardId) -> APIResult { - self.request(f!("boards/{board_id}"), |net, url| net.get(url)) - .await - } - - // pub(crate) async fn create_board(&self, title: &str, color: &str) -> APIResult { - // self.request_with_body( - // "boards", - // json!({ - // "title": title, - // "color": color - // }) - // .to_string(), - // |net, url| net.post(url), - // ) - // .await - // } - pub(crate) async fn get_stacks(&self, board_id: NextcloudBoardId) -> APIResult> { self.request(f!("boards/{board_id}/stacks"), |net, url| net.get(url)) .await