diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 63918232a..ea26f1bd5 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -362,7 +362,7 @@ class AccountsController < ApplicationController def check_keywords text = params[:text].to_s.each_char.select { |c| c.bytes.first < 240 }.join('') - data = ReversedKeyword.check_exists?(text) + data = ! ReversedKeyword.check_exists?(text) result = { status: 0, data: data,