diff --git a/src/hooks/use-chat-form.hooks.ts b/src/hooks/use-chat-form.hooks.ts index a53642b..8ca1f9d 100644 --- a/src/hooks/use-chat-form.hooks.ts +++ b/src/hooks/use-chat-form.hooks.ts @@ -29,6 +29,9 @@ const useChatForm = () => { const fetchResponse = async () => { if (selectedId === undefined) { + if (content.indexOf('결과') !== -1 || content.indexOf('입결') !== -1) { + return await postQuestion('PASSING_RESULT', type, content); + } return await postQuestion(category, type, content); } else { return await SearchById(selectedId);