mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 06:56:22 +00:00
fix: detectar si viene vacío
This commit is contained in:
parent
2e1087107a
commit
09e56b88ed
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ module Api
|
||||||
when Hash then original_activity.dig(:object, :id)
|
when Hash then original_activity.dig(:object, :id)
|
||||||
end
|
end
|
||||||
ensure
|
ensure
|
||||||
raise ActiveRecord::RecordNotFound, 'object id missing' unless @object_uri
|
raise ActiveRecord::RecordNotFound, 'object id missing' if @object_uri.blank?
|
||||||
end
|
end
|
||||||
|
|
||||||
# Atajo a la instancia
|
# Atajo a la instancia
|
||||||
|
|
Loading…
Reference in a new issue