From 2452089d17dbe1ed0f35074b154b2a1aa58bf502 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Mon, 22 Jul 2024 14:57:00 +0200 Subject: [PATCH] Avoid warning: assigned but unused variable - comments --- lib/trello/card.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/trello/card.rb b/lib/trello/card.rb index 513423fd..6fc57c9f 100644 --- a/lib/trello/card.rb +++ b/lib/trello/card.rb @@ -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