Skip to content

Commit ac0d45f

Browse files
confirmation with feedback added
1 parent f9888ec commit ac0d45f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const cbchat = {
159159
}));
160160
cbws.getWebsocket.on('message', (data: string) => {
161161
const response = JSON.parse(data);
162-
if (response.type === "confirmationResponse") {
162+
if (response.type === "confirmationResponse" || response.type === "feedbackResponse" ) {
163163
resolve(response); // Resolve the Promise with the server's response
164164
}
165165
});

0 commit comments

Comments
 (0)