@ -469,7 +469,7 @@ def remove_html_tags():
@frappe.whitelist()
def clear_tables(table_name):
try:
frappe.db.sql(f'''delete FROM `{table_name}`;''')
frappe.db.sql(f'''delete FROM `tab{table_name}`;''')
return 1
except Exception as e:
return e