diff --git a/backend/lib/tasks/sync_nico.rake b/backend/lib/tasks/sync_nico.rake index 0a102a9..a8601c5 100644 --- a/backend/lib/tasks/sync_nico.rake +++ b/backend/lib/tasks/sync_nico.rake @@ -53,7 +53,7 @@ namespace :nico do end tags_to_add << Tag.tagme if post.tags.size < 20 tags_to_add << Tag.bot - post.tags.concat(tags_to_add).uniq! + post.tags = (post.tags + tags_to_add).uniq end end end