mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 17:46:21 +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)
|
||||
end
|
||||
ensure
|
||||
raise ActiveRecord::RecordNotFound, 'object id missing' unless @object_uri
|
||||
raise ActiveRecord::RecordNotFound, 'object id missing' if @object_uri.blank?
|
||||
end
|
||||
|
||||
# Atajo a la instancia
|
||||
|
|
Loading…
Reference in a new issue