Skip to content

Commit

Permalink
remove debuggers
Browse files Browse the repository at this point in the history
  • Loading branch information
amancevice committed Aug 13, 2024
1 parent 7dd1653 commit 02a3e90
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions blue/twitter/send-post/lib/lib/twitter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def thread(text:, link:, media:)
data[:text] = text || ''
data[:media] = { media_ids: } if media_ids.any?
logger.info "POST #{ data.to_json }"
binding.irb
tweet = client.post('tweets', data.to_json)

raise TwitterError, tweet.to_json unless tweet['data']
Expand Down Expand Up @@ -96,7 +95,6 @@ def upload(*media)
media_category = 'tweet_image'

logger.info "UPLOAD [#{i + 1}/#{images.count}]"
binding.irb
X::MediaUploader.upload(client:, file_path:, media_category:)
end
end
Expand Down

0 comments on commit 02a3e90

Please sign in to comment.