Commit 80df7723 authored by 박민석's avatar 박민석

update chat.js

parent b5fcd118
Pipeline #21167 passed with stages
in 3 minutes and 47 seconds
......@@ -164,10 +164,10 @@
chatBody.appendChild(user)
chatBody.scrollTop = chatBody.scrollHeight
// if (!docType) {
// createAiMessage('가이드 도움에 필요한 제품을 선택해주세요.')
// return
// }
if (!docType) {
createAiMessage('가이드 도움에 필요한 제품을 선택해주세요.')
return
}
isLoading = true
......@@ -181,8 +181,7 @@
const payload = {
question: message,
// docsType: docType.toLowerCase(),
docsType: 'bxi',
docsType: docType.toLowerCase(),
}
fetch('https://docs.bxi.link/ask', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment