Skip to content

Commit

Permalink
Merge pull request #316 from olleolleolle/patch-3
Browse files Browse the repository at this point in the history
Avoid warning: assigned but unused variable - comments
  • Loading branch information
runlevel5 authored Jul 22, 2024
2 parents fb3eab9 + 2452089 commit ddea4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trello/card.rb
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def request_prefix
# Retrieve a list of comments
def comments(params = {})
params[:filter] ||= "commentCard"
comments = Comment.from_response client.get("/cards/#{id}/actions", params)
Comment.from_response client.get("/cards/#{id}/actions", params)
end

# Find the creation date
Expand Down

0 comments on commit ddea4c7

Please sign in to comment.