Skip to content
Snippets Groups Projects

Michi/chatbot

Merged Michael Holmes requested to merge michi/chatbot into master

Files

+ 0
1
@@ -9,7 +9,6 @@ export const sendForm = registerMutation({
{ name: 'formOutputStringified', type: () => String },
],
resolve: (chatID: string, formOutputStringified: string) => async () => {
await new Promise(resolve => setTimeout(resolve, 5000));
if (!chatbotConfig.onForm) throw new Error('Chatbot has to be initialised!');
if (!chatID) throw new Error('Chat has to be created!');
Loading