mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-20 13:11:50 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
d4013e15e1
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue