Skip to content

Commit 3823b54

Browse files
committed
huh was this never working with new client? let's see if we can hack it to
1 parent 8fb7071 commit 3823b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/updaters/entry_tweeter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def update
4848
return false
4949
end
5050

51-
tweet_result = client.post("tweet", { text: tweet_txt })
51+
tweet_result = client.post("tweet", JSON.generate({ text: tweet_txt }))
5252

5353
tweet_id = tweet_result&.dig("data", "id")
5454

0 commit comments

Comments
 (0)