feat: タグ希望タグを新規時のみにする(#128) (#145)
#128 完了 Co-authored-by: miteruzo <miteruzo@naver.com> Reviewed-on: #145
This commit was merged in pull request #145.
This commit is contained in:
@@ -51,7 +51,7 @@ namespace :nico do
|
||||
end
|
||||
tags_to_add.concat([tag] + tag.linked_tags)
|
||||
end
|
||||
tags_to_add << Tag.tagme if post.tags.size < 20
|
||||
tags_to_add << Tag.tagme if post.tags.size < 10
|
||||
tags_to_add << Tag.bot
|
||||
post.tags = (post.tags + tags_to_add).uniq
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user