5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 06:14:16 +00:00

fix: no actualizar si ya estaba cacheado y el contenido existía

This commit is contained in:
f 2024-02-21 17:22:31 -03:00
parent 2ae2b8e9e8
commit 7a936c1143
No known key found for this signature in database

View file

@ -17,7 +17,7 @@ class ActivityPub
# @todo Fallar cuando la respuesta no funcione?
return unless response.ok?
return unless response.miss?
return if response.miss? && object.content.present?
content = FastJsonparser.parse(response.body)