mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
add helper function for resetting path
This commit is contained in:
parent
2e3ecdb15e
commit
e262772fe3
2 changed files with 32 additions and 1 deletions
|
|
@ -338,7 +338,7 @@
|
|||
async resetPath(contact) {
|
||||
|
||||
// remove contact from device
|
||||
await this.connection.sendCommandResetPath(contact.publicKey);
|
||||
await this.connection.resetPath(contact.publicKey);
|
||||
|
||||
// reload contacts
|
||||
await this.loadContacts();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue