From d4b919b557e70f5df9512fc46047cb9f903f5769 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 14 Dec 2024 08:25:38 +0000 Subject: [PATCH] chore: remove dead code --- src/nextcloud/client.rs | 18 ------------------ 1 file changed, 18 deletions(-) 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