support_ticket: update_feed fix
diff --git a/support/doctype/support_ticket/support_ticket.py b/support/doctype/support_ticket/support_ticket.py
index 89a58a6..0f4a25e 100644
--- a/support/doctype/support_ticket/support_ticket.py
+++ b/support/doctype/support_ticket/support_ticket.py
@@ -50,11 +50,11 @@
def close_ticket(self):
webnotes.conn.set(self.doc,'status','Closed')
- update_feed(self.doc)
+ update_feed(self)
def reopen_ticket(self):
webnotes.conn.set(self.doc,'status','Open')
- update_feed(self.doc)
+ update_feed(self)
def on_trash(self):
webnotes.conn.sql("""update `tabCommunication` set support_ticket=NULL