about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-10-28 08:37:49 +0100
committerThibaut Girka <thib@sitedethib.com>2018-10-28 08:37:49 +0100
commitb00f60f1d3d5415b5fd536191a7ee183ae910d03 (patch)
treefa36e5f3ef4128cbf6c55b88e4ea1ddaa2dc161e /app/services
parent008f98b30481dff2278d0687deb874f05de66b75 (diff)
parent26fe37c41460d6db3b5dd975a86c14fdd8dfadf3 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services')
-rw-r--r--app/services/fetch_link_card_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/fetch_link_card_service.rb b/app/services/fetch_link_card_service.rb
index 4551aa7e0..462e5ee13 100644
--- a/app/services/fetch_link_card_service.rb
+++ b/app/services/fetch_link_card_service.rb
@@ -63,6 +63,7 @@ class FetchLinkCardService < BaseService
 
   def attach_card
     @status.preview_cards << @card
+    Rails.cache.delete(@status)
   end
 
   def parse_urls