Skip to content

Commit

Permalink
Remove Console Log
Browse files Browse the repository at this point in the history
  • Loading branch information
nilpatel42 committed Aug 19, 2024
1 parent ee31e73 commit a504d4e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,11 @@ frappe.ui.form.on('WhatsApp Notification', {
},
callback: function (response) {
if (response.message && response.message.length > 0) {
console.log(response.message);
} else {
frappe.msgprint(__('No alerts for today'));
}
},
error: function (error) {
console.error('Error:', error);
frappe.msgprint(__('Failed to trigger notifications'));
}
});
Expand Down

0 comments on commit a504d4e

Please sign in to comment.