5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-09 04:16:57 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-18 18:07:24 +00:00
commit d4013e15e1

View file

@ -22,7 +22,9 @@ class ActivityPub
# @todo Fallar cuando la respuesta no funcione?
return unless response.ok?
return if response.miss? && object.content.present?
# Ignorar si ya la caché fue revalidada y ya teníamos el
# contenido
return if response.hit? && object.content.present?
current_type = object.type
content = FastJsonparser.parse(response.body)