Skip to content

Commit

Permalink
Fix "creating cards on a list" example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
n7st committed Jan 21, 2019
1 parent e4cc07c commit 5b90eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ err := client.CreateCard(card, trello.Defaults())

```Go
list, err := client.GetList("lIsTID", trello.Defaults())
list.AddCard(trello.Card{ Name: "Card Name", Description: "Card description" }, trello.Defaults())
list.AddCard(&trello.Card{ Name: "Card Name", Desc: "Card description" }, trello.Defaults())
```

### Creating a Card by Copying Another Card
Expand Down

0 comments on commit 5b90eb7

Please sign in to comment.