We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9888ec commit ac0d45fCopy full SHA for ac0d45f
src/modules/chat.ts
@@ -159,7 +159,7 @@ const cbchat = {
159
}));
160
cbws.getWebsocket.on('message', (data: string) => {
161
const response = JSON.parse(data);
162
- if (response.type === "confirmationResponse") {
+ if (response.type === "confirmationResponse" || response.type === "feedbackResponse" ) {
163
resolve(response); // Resolve the Promise with the server's response
164
}
165
});
0 commit comments