diff --git a/src/trello/client.rs b/src/trello/client.rs index 5aebd8a..34a4984 100644 --- a/src/trello/client.rs +++ b/src/trello/client.rs @@ -144,8 +144,8 @@ impl<'ctx> TrelloClient<'ctx> { // https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-get pub(crate) async fn card(&self, card_id: &TrelloCardId) -> APIResult { - self.request(f!("/cards/{card_id}?attachments=true"), |net, url| { - net.get(url) + self.request(f!("/cards/{card_id}"), |net, url| { + net.get(url).query("attachments", "true") }) .await }