mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
update response for checkkeyword
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user