changeset 249:9e5f9ffa4077

Snake case
author nanaya <me@nanaya.net>
date Mon, 17 Jul 2023 04:40:46 +0900
parents d6a545dba986
children be0b78fb5f57
files app/lib/legit_client.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/lib/legit_client.rb	Mon Jul 17 04:27:59 2023 +0900
+++ b/app/lib/legit_client.rb	Mon Jul 17 04:40:46 2023 +0900
@@ -109,7 +109,7 @@
           end
         end
         acc
-      end.map { |rawTweet| normalize_tweet(rawTweet['itemContent']['tweet_results']['result']) }
+      end.map { |raw_tweet| normalize_tweet(raw_tweet['itemContent']['tweet_results']['result']) }
       .filter { |tweet| !tweet.nil? && tweet.dig(:user, :id) == user_id }
   end