5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 16:06:23 +00:00

fix: aplicar uniq al valor #14644

This commit is contained in:
f 2023-11-15 12:31:20 -03:00
parent 1d3325deaa
commit 04415b5dd6
No known key found for this signature in database

View file

@ -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