eltociear commited on
Commit
f8bce13
1 Parent(s): 9b52e76

Fix typo in chat.js

Browse files

occured -> occurred

Files changed (1) hide show
  1. client/js/chat.js +1 -1
client/js/chat.js CHANGED
@@ -159,7 +159,7 @@ const ask_gpt = async (message) => {
159
  // if text contains :
160
  if (text.includes(`instead. Maintaining this website and API costs a lot of money`)) {
161
  document.getElementById(`gpt_${window.token}`).innerHTML =
162
- "An error occured, please reload / refresh cache and try again.";
163
  }
164
 
165
  add_message(window.conversation_id, "user", message);
 
159
  // if text contains :
160
  if (text.includes(`instead. Maintaining this website and API costs a lot of money`)) {
161
  document.getElementById(`gpt_${window.token}`).innerHTML =
162
+ "An error occurred, please reload / refresh cache and try again.";
163
  }
164
 
165
  add_message(window.conversation_id, "user", message);