mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 21:36:21 +00:00
fix: copiar el contexto desde la acción al objeto
This commit is contained in:
parent
836e5d5935
commit
a51cb4dbdd
1 changed files with 3 additions and 1 deletions
|
@ -171,7 +171,9 @@ module Api
|
||||||
|
|
||||||
# @return [Hash,String]
|
# @return [Hash,String]
|
||||||
def original_object
|
def original_object
|
||||||
@original_object ||= original_activity[:object].dup
|
@original_object ||= original_activity[:object].dup.tap do |o|
|
||||||
|
o[:@context] = original_activity[:@context].dup
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue