Browse Source

update response for checkkeyword

pull/338/head
chenjing 2 years ago
parent
commit
7664e2e4d3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/accounts_controller.rb

+ 1
- 1
app/controllers/accounts_controller.rb View File

@@ -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,


Loading…
Cancel
Save