Fix: #416 フィルターでhalf_warnを指定した時の代替値指定ミス (#423)

This commit is contained in:
KMY(雪あすか) 2024-01-05 09:07:48 +09:00 committed by GitHub
parent 98753287ac
commit 2c5c068365
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ class REST::FilterSerializer < ActiveModel::Serializer
end
def filter_action
return :hide if object.half_warn_action?
return :warn if object.half_warn_action?
object.filter_action
end