Skip to content

Commit

Permalink
Merge pull request #292 from SmileyJoe/patch_custom_field_items
Browse files Browse the repository at this point in the history
Adding custom field items when getting single card
  • Loading branch information
sarumont committed Jul 15, 2019
2 parents a3c97dd + 5a73dc4 commit 32fbebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trello/trelloclient.py
Expand Up @@ -156,7 +156,7 @@ def get_card(self, card_id):
:rtype: Card
"""
card_json = self.fetch_json('/cards/' + card_id)
card_json = self.fetch_json('/cards/' + card_id, query_params={'customFieldItems': 'true'})
list_json = self.fetch_json('/lists/' + card_json['idList'])
board = self.get_board(card_json['idBoard'])
return Card.from_json(List.from_json(board, list_json), card_json)
Expand Down

0 comments on commit 32fbebe

Please sign in to comment.