mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 23:56: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
|
||||
when Array
|
||||
metadata.value << value
|
||||
metadata.uniq!
|
||||
metadata.value.uniq!
|
||||
when String then metadata.value = value
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue