Skip to content

Commit

Permalink
fixes bug in checklists related to old instance variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremytregunna committed Feb 13, 2012
1 parent 8f85d8d commit e232bf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/trello/checklist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ def save
return update! if id

Client.post("/checklists", {
:name => @name,
:idBoard => @board_id
:name => name,
:idBoard => board_id
}).json_into(self)
end

def update!
Client.put("/checklists", { :name => @name }).json_into(self)
Client.put("/checklists", { :name => name }).json_into(self)
end

# Return a list of items on the checklist.
Expand Down

0 comments on commit e232bf1

Please sign in to comment.