Skip to content

Commit

Permalink
removing media urls in attempt to fix the cards showing up on twitter
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Medovyy committed Jul 23, 2023
1 parent da87f7d commit e10cb31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/jobs/tweets/publish_tweet_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def perform(discussion:)

return if platforms.blank?

Ayrshare.post_message(post: full_tweet, platforms: , media_urls: [card_image_url], auto_hashtag:)
# Ayrshare.post_message(post: full_tweet, platforms: , media_urls: [card_image_url], auto_hashtag:)
Ayrshare.post_message(post: full_tweet, platforms: , auto_hashtag:)
tweet.update(uploaded: true)
end

Expand Down

0 comments on commit e10cb31

Please sign in to comment.