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,
|
ctx: &'ctx FullCtx,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'ctx> TrelloClient<'ctx> {
|
impl TrelloClient<'_> {
|
||||||
fn url(&self, path: impl Into<String>) -> String {
|
fn url(&self, path: impl Into<String>) -> String {
|
||||||
let path = path.into();
|
let path = path.into();
|
||||||
assert!(path.starts_with("/"));
|
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
|
// https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-boards-get
|
||||||
pub(crate) async fn boards(&self) -> APIResult<Vec<TrelloBoard>> {
|
pub(crate) async fn boards(&self) -> APIResult<Vec<TrelloBoard>> {
|
||||||
self.request("/members/me/boards", |net, url| {
|
self.request("/members/me/boards", |net, url| {
|
||||||
|
|
Loading…
Add table
Reference in a new issue