From 04415b5dd6ddefb967d0cad031de240e463bb2fe Mon Sep 17 00:00:00 2001 From: f Date: Wed, 15 Nov 2023 12:31:20 -0300 Subject: [PATCH] fix: aplicar uniq al valor #14644 --- app/services/post_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/post_service.rb b/app/services/post_service.rb index 23b54d11..ff2ac6bd 100644 --- a/app/services/post_service.rb +++ b/app/services/post_service.rb @@ -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