Skip to content

Commit

Permalink
ajust
Browse files Browse the repository at this point in the history
  • Loading branch information
xByteMaster committed Oct 21, 2023
1 parent 7e4a2a1 commit 00fa7f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/wapi/wapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,8 @@ if (typeof window.WAPI === 'undefined') {
for (let i = 0; i < numChatsToDelete; i++) {
await window.WAPI.chat
.delete(chats[i].id._serialized)
.then(result => {});
.then((_) => true)
.catch((_) => true);
}
} catch (e) {
console.error('Erro:', e);
Expand Down

0 comments on commit 00fa7f8

Please sign in to comment.