Skip to content

Commit

Permalink
fix: removed unwanted code
Browse files Browse the repository at this point in the history
  • Loading branch information
shridarpatil committed Aug 16, 2024
1 parent beaa435 commit 2342141
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,16 +298,3 @@ def trigger_notifications(method="daily"):
alert = frappe.get_doc("WhatsApp Notification", d.name)

alert.get_documents_for_today()
# doc.name
# evaluate_alert(doc, alert, alert.event)
# frappe.db.commit()



def template():
notification = frappe.get_doc("WhatsApp Notification", "WN-0001")
notification.disabled = 0
doc = frappe.get_doc("User", "Administrator")
doc.mobile_no = "+919741094468"
notification.send_template_message(doc)

0 comments on commit 2342141

Please sign in to comment.