chore: remove dead code
This commit is contained in:
parent
6ee44dc7d4
commit
d4b919b557
1 changed files with 0 additions and 18 deletions
|
@ -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<Board> {
|
||||
self.request(f!("boards/{board_id}"), |net, url| net.get(url))
|
||||
.await
|
||||
}
|
||||
|
||||
// pub(crate) async fn create_board(&self, title: &str, color: &str) -> APIResult<Board> {
|
||||
// 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<Vec<Stack>> {
|
||||
self.request(f!("boards/{board_id}/stacks"), |net, url| net.get(url))
|
||||
.await
|
||||
|
|
Loading…
Reference in a new issue