http://192.168.1.164:8008/api/method/clear
@frappe.whitelist()
def clear():
frappe.local.session_obj.update(force=True)
frappe.local.db.commit()
clear_user_cache(frappe.session.user)
frappe.response["message"] = _("Cache Cleared")
http://192.168.1.164:8008/api/method/clear
@frappe.whitelist()
def clear():
frappe.local.session_obj.update(force=True)
frappe.local.db.commit()
clear_user_cache(frappe.session.user)
frappe.response["message"] = _("Cache Cleared")