Skip to content

Commit

Permalink
Fix wrong path in channels.remove()
Browse files Browse the repository at this point in the history
  • Loading branch information
raucao committed Aug 20, 2021
1 parent 87f0a35 commit ec6bb0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/build.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const Kosmos = function(privateClient/*, publicClient*/) {
},

remove(accountId, id) {
return privateClient.remove(`chat/${accountId}/${id}`);
return privateClient.remove(`chat/${accountId}/channels/${id}`);
}
},

Expand Down

0 comments on commit ec6bb0b

Please sign in to comment.