parent
a0bdb7a999
commit
6c6184ae49
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ pub(crate) struct TrelloClient<'ctx> {
|
|||
ctx: &'ctx FullCtx,
|
||||
}
|
||||
|
||||
impl<'ctx> TrelloClient<'ctx> {
|
||||
impl TrelloClient<'_> {
|
||||
fn url(&self, path: impl Into<String>) -> String {
|
||||
let path = path.into();
|
||||
assert!(path.starts_with("/"));
|
||||
|
@ -117,7 +117,7 @@ impl<'ctx> TrelloClient<'ctx> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'ctx> TrelloClient<'ctx> {
|
||||
impl TrelloClient<'_> {
|
||||
// https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-boards-get
|
||||
pub(crate) async fn boards(&self) -> APIResult<Vec<TrelloBoard>> {
|
||||
self.request("/members/me/boards", |net, url| {
|
||||
|
|
Loading…
Add table
Reference in a new issue