fix codacy
diff --git a/erpnext/crm/doctype/appointment/appointment.js b/erpnext/crm/doctype/appointment/appointment.js
index 975abfc..485520f 100644
--- a/erpnext/crm/doctype/appointment/appointment.js
+++ b/erpnext/crm/doctype/appointment/appointment.js
@@ -5,13 +5,13 @@
refresh: function(frm) {
if(frm.doc.lead){
frm.add_custom_button(__(frm.doc.lead),()=>{
- frappe.set_route("Form","Lead",frm.doc.lead)
- })
+ frappe.set_route("Form","Lead",frm.doc.lead);
+ });
}
if(frm.doc.calendar_event){
frm.add_custom_button(__(frm.doc.calendar_event),()=>{
- frappe.set_route("Form","Event",frm.doc.calendar_event)
- })
+ frappe.set_route("Form","Event",frm.doc.calendar_event);
+ });
}
}
});