mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 20:06:22 +00:00
fix: aplicar uniq al valor #14644
This commit is contained in:
parent
1d3325deaa
commit
04415b5dd6
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ PostService = Struct.new(:site, :usuarie, :post, :params, keyword_init: true) do
|
||||||
case metadata.value
|
case metadata.value
|
||||||
when Array
|
when Array
|
||||||
metadata.value << value
|
metadata.value << value
|
||||||
metadata.uniq!
|
metadata.value.uniq!
|
||||||
when String then metadata.value = value
|
when String then metadata.value = value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue