ニコタグ連携バグ修正 (#294) (#316)

#294

Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #316
This commit was merged in pull request #316.
This commit is contained in:
2026-04-19 16:44:20 +09:00
parent 48f823a7c8
commit 5c7580d571
2 changed files with 6 additions and 3 deletions
@@ -33,7 +33,8 @@ class NicoTagsController < ApplicationController
return head :bad_request if tag.category != 'nico'
linked_tag_names = params[:tags].to_s.split(' ')
linked_tags = Tag.normalise_tags(linked_tag_names, with_tagme: false)
linked_tags = Tag.normalise_tags(linked_tag_names, with_tagme: false,
with_no_deerjikist: false)
return head :bad_request if linked_tags.any? { |t| t.category == 'nico' }
tag.linked_tags = linked_tags