Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 2bdd546

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: refactoring more
1 parent 87eeb1f commit 2bdd546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/keep_alive/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const wsResponse = async (res) => {
3232
const data = JSON.parse(res.data);
3333
if (data.error !== undefined) {
3434
console.log('Error: %s ', data.error.message);
35-
connection.removeEventListener('message', keepAliveRes, false);
35+
connection.removeEventListener('message', wsResponse, false);
3636
await api.disconnect();
3737
} else if (data.msg_type === 'proposal') {
3838
console.log('Details: %s', data.proposal.longcode);

0 commit comments

Comments
 (0)