diff app/lib/legit_client.rb @ 249:9e5f9ffa4077

Snake case
author nanaya <me@nanaya.net>
date Mon, 17 Jul 2023 04:40:46 +0900
parents bc2f45058c9e
children 151bc6d97d39
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