Skip to content

Commit

Permalink
[ifmeorg#1713] Made moment_keywords unique
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Warmenhoven authored and AlineRibeiro committed Apr 23, 2020
1 parent 2753844 commit 5f04809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/moment_keywords.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def call
extract(@moment.fix))
remove_special_chars
downcase_keywords
@moment_keywords = @moment_keywords.join(' ')
@moment_keywords = @moment_keywords.uniq.join(' ')
end

private
Expand Down

0 comments on commit 5f04809

Please sign in to comment.