Skip to content

Commit

Permalink
feat: do not pass text header
Browse files Browse the repository at this point in the history
  • Loading branch information
shridarpatil committed Mar 22, 2023
1 parent 8b1a474 commit b95c9f5
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,6 @@ def execute_doc(self, doc: Document):
}
}]
})
elif template.header_type == 'TEXT':
data['template']['components'].append({
"type": "header",
"parameters": [{
"type": "text",
"text": template.header
}]
})

self.notify(data)
frappe.msgprint("WhatsApp Message Triggered", indicator="green", alert=True)
Expand Down

0 comments on commit b95c9f5

Please sign in to comment.